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 / Extracting Formula Cel...
Power Automate
Unanswered

Extracting Formula Cell Value from Latest Row Added

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I have a MS form that users can use to input their cost/labor data in order calculate a quote. Once submitted, the form responses are automatically added to the bottom of a table in an online Excel spreadsheet where I added new columns to calculate total costs (stored in column X under header 'Total Cost'). Every time a row is added due to a new form response, the row extends to these new columns. My objective to have a flow that sends the users back an email with their calculated total cost from column X so they know the quote number. 

 

Here’s my flow:

 

  1. Trigger: MS forms when a new response is submitted 
  2. Action: Get response details (Response ID is unique identifier)
  3. Action: List rows present in table
  4. Action: Delay 10 sec
  5. Action: Send an email (V2) with the following expression to extract latest value:

last(outputs('List_rows_present_in_a_table')?['body/value'])['Total Cost']

 

The problem: the value of X returns as '0' in the email when sent to Responder's Email. 

I ran some tests and the expression will correctly retrieve static cell values generated by the original form response from the latest row added, but will always return cell values as '0' for cells with formulas in them. 

 

Am I missing something?

 

Thanks!

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi @James13 
    I have a similar experiences... i.e. 'List rows present in a table' and Excel formulas does not seem to be good friends.
    So I have used different alternatives depending on the challenge:
    -either invoke graph API via Power Automate in order to get the cell calculated value, or

    -invoke an Office Script via Power automate to get the calculation done, or

    -make PowerAutomate do the calculations, since 'List rows present in a table' should provide all the rows needed

    Hope this helps
    ===========  
     

  • Michael E. Gernaey Profile Picture
    53,960 Moderator on at

    @James13 

     

    You may need to actually put a delay before listing your rows, not after, or both. Just for a simple (nail biting, headache inducing test :-)), put a 1 minute delay before you do your list rows, and take out the delay after (it wont matter), unless you have tons of data.

     

    Plus these are forumula columns and 😞 and the work like uggg against power apps, so you may need to do this.

    1. Create a script that writes all the value outputs of the function to a column that is just a number (or dollar whatever), but that is NOT a formula.

     

    2. Call the script each time before you list rows.

    3. Do a delay in time

    4. then list rows.

     

    I know I know you hate me I do too, but try these couple of things 🙂


    If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard