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 Automate / Comparing a value on a...
Power Automate
Suggested Answer

Comparing a value on a webpage with an excel cell

(0) ShareShare
ReportReport
Posted on by 2
Hello,
 
I am using Power Automate Desktop to read an excel file with Invoice's and input them into a vendors web platform.  It works and runs great; but I am trying to do a validation before hitting the submit button.  After entering all the data into form and right before I submit it, it shows the invoice total that I am submitting.  I want to grab that invoice total and compare it to the invoice total on the excel file.
 
What I am doing is not working; and I can't find a solution that works.  
 
1.  I am using Get details of element on webpage (this captures the total invoice amount on the webpage)
 
 
2.  That variable I made as "OLinvoiceAmount and I verified the value it captured no problem
 
3.  Here is the excel data that I am pulling from
 
4. I wrote an if statement to error out essential if the values do NOT equal.  However this statement does NOT work.  I can't figure out why not.
 
 
Any help is greatly appreciated.
 
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
     
     
    Just check these things 
     
    1. Are you getting value from excel like 1082.11 - did you check the datatable which hold this value in PAD ?
     
    2.  Did you used %OlinvoiceAmount.Trimmed% so that it can trim off the whitespaces end and start of text variable ?
     
     
    Try these and let me know !
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

  • NP-01021811-0 Profile Picture
    2 on at
    1.  I did verify the value from excel and that is exactly what I see.
     
    2. I did just try this.  It did not work.  
     
    Any other suggestions?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard