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 / How to use Excel Data ...
Power Apps
Answered

How to use Excel Data for an IF function

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello.

 

I have a quick question regarding Excel Sheets connected to a PowerApp via OneDrive.

 

I want to make an IF function which would check if a current Excel Entry has a certain value or not.

However I do not know how to write this IF statement. I am unsure how to make PowerApps check for the required data.

ThisItem.ExcelData does not seem to work, as it's only function is to set whatever it's put on to the given value.

This is what I have right now, but as I mentioned, it doesn't work.

If(ThisItem.ExcelData="Value",true,false)

 

Any help would be greatly appreciated.

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 
    Are you trying to check a row in your Excel table to see if a value exists?

     

    If yes, does your table have and column that stores a unique ID?  How can we identify which rows needs to be checked?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am currently within editing an existing form, so usually the correct row of data is already selected (based on the ID PowerApps gives that certain data row, I suppose).

    So all I need to know is how to make PowerApps ask if a specific value is set to something.

  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 
    You definitely have the right technique:

    =If(ThisItem.YourColumnName, true_condition, false_condition)

     

    Did you make a recent change to the sheet?  Have you tried refreshing the datasource using the left-side menu?

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It seems like my method actually works.

    I am running into another problem them, unrelated to the topic at hand.

    I will create another topic for it, should I still not be able to get results by myself any time soon.

     

    Thank you for you support!

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard