web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filter Excel Table, Cr...
Power Automate
Unanswered

Filter Excel Table, Create New Excel File with Filter Name and Contents with Filtered Data, Email Each file to appropriate agency

(0) ShareShare
ReportReport
Posted on by

I have a file with remit invoice data for multiple agencies. I need to filter by agency and create a file for each agency with just that agency data within the file. The title of the file should be the agency name. Separately, I have a list of emails with the appropriate agency name next to each email. Some of the agencies have multiple emails and there is a single email that should be CC'd on each email. The agencies can (and most likely will) change each time it is run. Is there a way to automate this process?

 

I am having trouble getting the files to create. I have used Macros to split files before but the entire look has changed and I am a bit confused. I have also used Mail Merge in the past to do a similar project with sending the attachments but I am wondering if using the Power Automate can make the process a bit easier.

 

I do have these in tables and the file is a macro.

 

Initial File

Agency NameInvoice NumberStaff NameShift DateInv. AmountFeeAgency Amount
Agency 11001John Doe1/1/20231,5001001,400
Agency 11001Jane Doe1/1/20231,000100900
Agency 22001Grace Doe1/1/20232,0001001,900
Agency 22001Frank Doe1/1/20231,3001001,200
Agency 33001Sally Doe1/1/20231,2001001,100
Agency 33001Frank Doe1/2/20231,3001001,200
Agency 33001Sally Doe1/2/20231,2001001,100

 

1st File

File Name: Agency 1

Agency NameInvoice NumberStaff NameShift DateInv. AmountFeeAgency Amount
Agency 11001John Doe1/1/20231,5001001,400
Agency 11001Jane Doe1/1/20231,000100900

 

2nd File

File Name: Agency 2

Agency NameInvoice NumberStaff NameShift DateInv. AmountFeeAgency Amount
Agency 22001Grace Doe1/1/20232,0001001,900
Agency 22001Frank Doe1/1/20231,3001001,200

 

3rd File

File Name: Agency 3

Agency NameInvoice NumberStaff NameShift DateInv. AmountFeeAgency Amount
Agency 33001Sally Doe1/1/20231,2001001,100
Agency 33001Frank Doe1/2/20231,3001001,200
Agency 33001Sally Doe1/2/20231,2001001,100
Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard