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 / Extracting columns fro...
Power Automate
Answered

Extracting columns from excel table

(0) ShareShare
ReportReport
Posted on by 9

Apologies if this is a trivial question, i am a fairly new power automate user but couldnt find a solution from extensive searching.

 

My problem:
My flow creates an excel file with a list of user emails. This is in the fundamental form of a table (lets call it Test123):

powerautomate49_0-1633954749313.png

 

Attempted solution:

Using the excel "get a row", should i not therefore be able to extract the email list?

powerautomate49_1-1633954870145.png

The above image has the correct location and Table set as "Table123" but what should the Key Value be? When i run it without the Key Value, the following is produced (the name shows the email as expected):

powerautomate49_2-1633954994246.png

How do I extract this all the emails from the "Name" column in the "Test123" table?

I have also tried using the "contains" expression to no success.

 

 

 

 

  • Verified answer
    powerautomate49 Profile Picture
    9 on at

    Solution found using the approach outlined in the solution of this

    https://stackoverflow.com/questions/67868270/how-to-fetch-specific-column-data-from-xls-in-microsoft-flow

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I know you solved your how, but more importantly, I think Get Row is used to find which row a value is in.  So, in your example above, you enter "test@email.com" in "Key value" and it returns "3" as in Row 3 for a variable that you can use later.

  • azimzicar Profile Picture
    72 on at

    @MichaelAnnis 

    This is for Power Automate 'Cloud' not desktop, how do we report this to admins so they can move it?

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Yes. I ran into this Friday when I tried to do it for myself. I always thought this was possible, I don’t know how a simple vlookup on DataTable type property isn’t available on the desktop version. However, there are 2 workarounds. 

    1. You could use PAD to write a Match formula to a cell in Excel, and then read the resulting answer. Ex. MATCH(%LookforText%,A:A,0). The match formula will display the row the exact text is found in. PAD can read this and use it to define the row needed. 

    2.  Run a “For each” or a “Loop” on the column set and say if CurrentItem = %LookforText% then do something. 

    While the loop would obviously take long in large data, I opted for option 2 Friday when I only had about 8 rows, and it worked very quickly. 

  • kbxawork Profile Picture
    31 on at

    Hi ... in the stackoverflow solution, the definition of ColumnName is not displayed. What is meant by "assign the column name dynamically" .. thx for your patience

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
11manish Profile Picture

11manish 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard