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 / Finding particular val...
Power Automate
Answered

Finding particular value from excel

(0) ShareShare
ReportReport
Posted on by 33

Name   value

Ct           2

Gt           3

Vx           5

Hi from excel sheet i want to fetch a particular value like if name is gt then i want to get value 3 using power automate desktop

I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @Try 

    This you can do pretty easily in Power Automate Desktop. Follow the steps: 

     

    First use launch excel action and browse the excel sheet you want to use. 

    After this use action called first free row/column and pass the excel instance variable that you created in the 1st action. We are using this action so that we get the first free row, and we will run a loop till first free row-1. So that it runs till the last row. 

    Sundeep_Malik_0-1663616482168.png

     

     

    Here is how the rest of the flow looks like: 

    Sundeep_Malik_8-1663608044608.png

     

     

    After this use loop action and add the following in it. So it starts from 2nd row as first row would be headers and it will run till the last row and increment by 1. 

    Sundeep_Malik_1-1663607652475.png

    After this use action, read from excel. And add the following: Here we are reading every value in column A which is of name. 

    Sundeep_Malik_2-1663607738275.png

    After this use if statement and do the following: We are checking if the name column has a value Gt.

    Sundeep_Malik_4-1663607770570.png

     

    Then again use read from excel but this time we will be reading the 2nd column. 

    Sundeep_Malik_6-1663607851791.png

    After this use set variable and add the value of excel2 which will have the value column of Gt:

    Sundeep_Malik_7-1663607947614.png

    After this use exit loop. So this will happen if you are able to find the value in your excel. So we will not check extra rows, we will just get out of the loop instantly. 

     

    I hope this helps. 

  • Verified answer
    Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @Try ,

     

    I am agree with @Sundeep_Malik solution. 

     

    Just sharing another solution:

    Kaif_Siddique_0-1663615613406.png

     

    If you like my response, please give it a Thumbs Up.
    If this helps, please Accept as solution.

     

    Regards

    Kaif

  • Try Profile Picture
    33 on at

    Hi saundeep thanks for solution 👍 its working

  • Sundeep_Malik Profile Picture
    6,501 on at

    @Try 

    If you like the solution and is working for you, you can mark the answer as the solution and also give a kudo.

    It helps.

    😉

  • VJR Profile Picture
    7,635 on at

    @Try, recommend the Find cells action because it avoids any loop.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 261 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 185

#3
Haque Profile Picture

Haque 168

Last 30 days Overall leaderboard