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 Apps / LookUp Returning No Va...
Power Apps
Answered

LookUp Returning No Values

(0) ShareShare
ReportReport
Posted on by 4

I have a text input called 'Account Number Cons' that contains 8 digit account numbers. I have imported an excel spreadsheet called Table2 with two columns, 'Account Number' and 'Service Address'. Both columns are formatted as text. I would like the user to input the account number, and it will return the service address in a label.  I am using this formula for the label:

 

LookUp(Table2,'Account Number' = 'Account Number Cons'.Text,'Service Address')

 

And it returns nothing. but does not indicate there's a problem with the formula. As another test I tried this formula to return an address and it still does nothing despite confirming that is a known value in the table:

 

LookUp(Table2,'Account Number' = "00821574",'Service Address')

 

What am I missing?

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @cr872190 

    When you use equals in your criteria, it must be an exact match in the lookup.

     

    Consider changing your formula to the following:

    LookUp(Table2,
     StartsWith('Account Number', 'Account Number Cons'.Text),
     'Service Address'
    )

    This will be somewhat else restrictive.

     

    If that is not working, then how many records are you dealing with?  You are limited to the Record Limit set in your app when dealing with Excel that way.

     

    I hope this is helpful for you.

  • cr872190 Profile Picture
    4 on at

    Thank you very much I had not considered the record limit. The file I am using has nearly 300,000 records so I guess an imported excel table is not the solution here. Thanks again!

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @cr872190 

    No - it will not be!!  I would suggest importing that into a SharePoint list and then you will be able to work with it using delegable functions (the formula I provided you is delegable).  Excel does not support delegation.  SharePoint will.

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 Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard