Skip to main content
Community site session details

Community site session details

Session Id : 0qGRpE63kJbU9KvkGdVqr7
Power Automate - Building Flows
Answered

use record in Excel file A to find record that match in Excel file B that contain Email

Like (0) ShareShare
ReportReport
Posted on 8 May 2024 04:55:45 by 162

Hi,

 

I would like to build Automate to use record in Excel file A that have Account Number to find record that match in Excel file B that contain Account Number, Email and use the email in Excel file B to send email with outlook. 

 

Anyone please guide me. 

  • nitisak Profile Picture
    162 on 23 May 2024 at 04:16:50
    Re: use record in Excel file A to find record that match in Excel file B that contain Email

    Hi @v-yetonggu-msft 

     

    In case of not found account number if I would like to chow account number that not found in Master file what should I do 

  • nitisak Profile Picture
    162 on 13 May 2024 at 07:26:01
    Re: use record in Excel file A to find record that match in Excel file B that contain Email

    Hi @v-yetonggu-msft  

     

    Got it thanks!

  • Verified answer
    v-yetonggu-msft Profile Picture
    on 13 May 2024 at 04:42:43
    Re: use record in Excel file A to find record that match in Excel file B that contain Email

    Hi @nitisak ,

    Do you mean you'll manually enter the email address of a specific recipient?

    If it is not greater than 0, it proves that no matching Account Number was found.

    If so, please add send an email(V2) to No branch and manually input email address.

    vyetonggumsft_0-1715575277642.png

    Best Regards,

    Sunshine Gu

  • nitisak Profile Picture
    162 on 13 May 2024 at 04:25:13
    Re: use record in Excel file A to find record that match in Excel file B that contain Email

    Hi @v-yetonggu-msft 

     

    I mean I will put email in to action of outlook instance of push from excel file 

  • v-yetonggu-msft Profile Picture
    on 13 May 2024 at 02:57:41
    Re: use record in Excel file A to find record that match in Excel file B that contain Email

    Hi @nitisak ,

    This is a strange question, where is your specific email address stored?

     

    Best Regards,

    Sunshine Gu

  • nitisak Profile Picture
    162 on 13 May 2024 at 02:34:53
    Re: use record in Excel file A to find record that match in Excel file B that contain Email

    Hi @v-yetonggu-msft  

     

    Thank you! another question if Account number in file A can't not found in File B and I want to send email to specific in case of this, how can I write the logic ?

  • v-yetonggu-msft Profile Picture
    on 08 May 2024 at 06:53:45
    Re: use record in Excel file A to find record that match in Excel file B that contain Email

    Hi @nitisak ,

    Of course, if you look closely, you can see that my two tables are also in different files, Book1 and Book2.

     

    Best Regards,

    Sunshine Gu

  • nitisak Profile Picture
    162 on 08 May 2024 at 06:51:03
    Re: use record in Excel file A to find record that match in Excel file B that contain Email

    Hi @v-yetonggu-msft 

     

    If is not in the same file it will work as well ?. 

  • v-yetonggu-msft Profile Picture
    on 08 May 2024 at 06:04:45
    Re: use record in Excel file A to find record that match in Excel file B that contain Email

    Hi @nitisak ,

    If you want to find the corresponding email address by the Account Number column between the two tables, please see this test:

    My excel table1:

    vyetonggumsft_3-1715148143960.png

    My excel table2:

    vyetonggumsft_4-1715148195284.png

    My Flow:

    vyetonggumsft_0-1715147903539.png

    vyetonggumsft_1-1715147986861.png

    item()?['Account Number']
    items('Apply_to_each')?['Account Number']

    vyetonggumsft_2-1715148091310.png

    length(body('Filter_array'))
    items('Apply_to_each_2')?['Email']

    Best Regards,

    Sunshine Gu

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2