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 / Conditon to read a Vlo...
Power Automate
Unanswered

Conditon to read a Vlookup value

(0) ShareShare
ReportReport
Posted on by

Hello All,

 

I am creating a flow where form details are added to a row in an excel table.  Then using a vlookup in the table it results in a number being generate or being blank.  I want to add a condition where if the number is present, email the respondent.  If it is blank, email a different person.

 

My tests fail so far.  I think the condition is reading the cell as being filled with the formula rather than the result which is blank.  

 

Any help with this would be greatly appreciated.  Below is a screenshot of what I have:

JMH0601_0-1603469097421.png

 

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

    Hi @Anonymous 

     

    There are different ways you can check whether the value is null. Use the null expression or length() expression greater than zero. Check the run history and see what it is returning? Add the above mentioned conditions null or length.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    Below is the failure when I tried length is greater than zero:

    InvalidTemplate. Unable to process template language expressions for action 'Condition' at line '1' and column '21230': 'The template language function 'length' expects its parameter to be an array or a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#length for usage details.'.

    And below is the failure using the null:

    InvalidTemplate. Unable to process template language expressions for action 'Condition' at line '1' and column '21230': 'The template language function 'greater' expects all of its parameters to be either integer or decimal numbers. Found invalid parameter types: 'Null'.'.

     

    If I use the column not equal to null, it always results in false.

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Did you tried checking null

     

    image.png

     

    If that doesn't work then try with no value

     

    image.png

     

     

  • Community Power Platform Member Profile Picture
    on at

    Yes I checked both of those.  The problem is, the cell isn't technically empty.  The VLOOKUP function is in the cell.  I am trying to get the condition to read the result of the formula vs. the formula itself.  So if I change the condition to null or empty, it will always show false because there is data in the cell.  Is there any condition that will process the VLOOKUP function?

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard