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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Check if a value exist...
Power Automate
Answered

Check if a value exist in excel then update row value

(0) ShareShare
ReportReport
Posted on by 47

I tried a few flows but they failed

 

I have a table with 2 columns only as below. I am getting 2 variables from an email, which are Tran_No and Status.

 

My flow I would like to check if the variable Tran_No exist in the excel table. If yes, update the new Status to existing Status column.

 

Can someone help please?

 

Tran_NoStatus
12345In Progress
12346In Progress
12347In Progress

 

My flow:

image.pngimage.pngimage.png

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,975 Most Valuable Professional on at

    Hi @Majingcth 

     

    Please see this solution which I provided for another post.

     

    https://powerusers.microsoft.com/t5/Building-Flows/Update-Row-Automatic-adding-numbers-in-the-same-row/m-p/356448#M39570

     

    If you need any further help please let me know.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

     

    Thanks

  • Majingcth Profile Picture
    47 on at

    Hi @abm 

    i studied your post and tried mine, but still fail.

     

    I trigger by input a Tran_No = 12347 and Status = Completed, I expect to update excel for row with Tran_No = 12347 only. Can you figure out my issue?

     

    My update flow:

    image.pngimage.pngimage.png

  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @Majingcth ,

     

    Please refer to screenshot below to create the flow:

    1.png2.png

     

    The expression in the Condition as below:

    length(body('Filter_array'))

    The expression for the Transaction No column in the Update a row action as below:

    item()?['Transaction No']

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Majingcth Profile Picture
    47 on at

    @v-alzhan-msft ,

     

    Great, I tried it, it works. Thanks.

     

    However, 1 more question.

     

    When there is a Tran_No found in the list, and there status is already 'Completed', if the new Status is 'In Progress', I would like to keep it as 'Completed' and not update 'In Progress' to the row, how can this be done?

  • v-alzhan-msft Profile Picture
    on at

    Hi @Majingcth ,

     

    If your asking problem has been solved, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

     

    And if you have another question, please post the new questuion in the flow forum for other users to easily identify.

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard