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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow to look up number...
Power Automate
Unanswered

Flow to look up numbers on an excel file

(0) ShareShare
ReportReport
Posted on by 73

Hi all,

 

I have a flow that takes responses from Microsoft Forms, then does a lookup on an excel sheet to pull some percentage data, then updates a different spreadsheet. The issue i find is, the excel lookup sheet sometimes has two numbers together , example 123456, 654321 . so in this case my lookup of "123456" finds nothing. but if the number "123456" is by itself in the column then it wokrks. Is there a way to do a lookup that will find "123456" no matter if it is by itself "123456" or in a colum with other numbers "123456, 654321" ?

make sense?

 

flow.png

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    @roberts 

    You might try a condition as in my example below.  I don't believe that contains is supported in an OData filter, so you are left with a condition.  I use the string() expression because the contains in an expression works only with strings.

    FindValue.jpg

  • roberts Profile Picture
    73 on at

    I thank you for your reply, you helped me over the weekend to with another Flow. I do apologize as i'm still learning this, i don't quite understand where to put that condition? after my "Get a Row" ?

     

  • ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    @roberts 

    Yes - after the Get row action.

  • roberts Profile Picture
    73 on at

    I get the expression is invalid when i enter "string(...)"

  • Community Power Platform Member Profile Picture
    on at
  • ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    @roberts 

    Your expression should look like my screen shot below.  Replace 123 with the number series that you are looking for.

    Wxpression3.jpg

  • roberts Profile Picture
    73 on at

    I don't have a number series, example we have areas names as numbers, lets say this

     

    NY = 2043455

    TOR = 731234

    LON = 145765

    and so on and os on, random 6 digit numbers

  • ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    @roberts 

    You'll need to repcae my hard coded number(123) woth a reference to the number for which you are searching.  This could come from Dynamic properties, etc..

     

     

  • roberts Profile Picture
    73 on at

    the number in question is being entered in the Form and i am retrieving those responses prior. I am calling those "Node#" so is thta what i would enter in the string? As i have that entered in the 

     

    1.JPG

  • ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    @roberts 

    You'll want to enter a reference from Dynamic properties to the question from Forms that may contain the string that you're looking for.

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 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard