Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

IF condition for value in cell

(0) ShareShare
ReportReport
Posted on by 13

I wanted to have an "IF" condition that checks if the "Matched with" column in my excel sheet has a value inserted or it's blank. That value will be different for each row and I want the email to be sent only if there a value in the "Matched with" column for each row. How can we create this IF condition?

This is what I have so far but it does not seem to work.

 

 

R8poC.png

 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at
    Re: IF condition for value in cell

    Hi @slambos,

    Do you want to send an email if the 'Matched with' field is not blank?

     

    Please configure the condition as below:

    vqiaqimsft_0-1660810764848.png

    Note that you should just keep the 'Matched With' field in the left tab of the condition and write the null in the expression bar of the right tab of the condition and click the update button.

  • devendraVelegan Profile Picture
    72 on at
    Re: IF condition for value in cell

    @slambos : sorry, while adding the expressions, please use the dynamic content option so the expression gets resolved.

    https://www.alanps1.io/power-platform/flow/flow-so-where-has-edit-in-advanced-mode-gone-on-condition-actions/ 

     

  • slambos Profile Picture
    13 on at
    Re: IF condition for value in cell

    I don't have the "Advanced mode" option. I tried to do it this way instead but it did not work. @devendraVelegan 

     

    Screenshot 2022-08-15 091000.png

  • devendraVelegan Profile Picture
    72 on at
    Re: IF condition for value in cell

    @slambos Please refer to the example below. 

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#empty 

    After the action List rows present in a table, add a condition with the following code in Advanced mode:

    @equals(empty(items('Apply_to_each')?['Matched with']), bool('True'))

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1