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 / Updating Rows in Excel...
Power Automate
Unanswered

Updating Rows in Excel Table When Microsoft Form is Edited *URGENT*

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I'm hoping someone can help with a flow between Microsoft Form and Excel.

 

I am looking to create a flow which triggers from a Microsoft Form, it will search for a 'unique ID' inside the table already, if it does not find the ID it adds a new row but if it does find the ID it will update the row instead.

I'm having difficulty between the filter array function and the condition, I keep getting a 'null error'.

I've tried to screenshot everything I think would be relevant!

 

I really appreciate your help!

Categories:
I have the same question (0)
  • ks_automate Profile Picture
    2 on at

    More Screenshots

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @ks_automate When using the MS Form trigger or actions—I'd recommend using the Classic Designer. The New Designer is still buggy. Tip: Rename your action to keep your flow organized!

    creativeopinion_0-1706798708271.png

     

    I would also recommend using a Manual Trigger to trigger your flow while you are building and testing your flow. I cover how to do this in this section of my YT Tutorial.

     

    Compose Unique ID

    This is optional, however for troubleshooting purposes I recommend putting your Unique Id into a Compose action. 

    creativeopinion_1-1706798918390.png

     

    Filter Array

    You need to use the Filter Array action to filter the values returned from the the List Rows Present in a table action. For more information on how to use the Filter Array action watch this YT Tutorial: Are you using the Microsoft Power Automate Filter Array Action wrong?

     

    Putting the Filter Array inside an Apply to Each loop is incorrect. Reason is that you are running the Filter Array action each time the Apply to Each action loops through. You might be interested in this YT Tutorial: 3 Mistakes YOU 🫵 are Making with the Apply to Each Action in your Microsoft Power Automate Flow

     

    creativeopinion_2-1706799098418.png

    Return Item Count

    Whenever I use a Filter Array action, I always like to return the count of items/rows returned in a Compose action. This is helpful when building a flow and can also be used to troubleshoot your flow. Insert a Compose action.

     

    Add an Expression. Use the length() function.

    creativeopinion_3-1706799202581.png

     

    Select the Dynamic content tab and insert the body dynamic content from the Filter Array action into the length() function.

    creativeopinion_4-1706799219714.png

    Run a test. Review the output of the Compose action. If a matching ID is located in your Excel table, it should return a 1.

    creativeopinion_5-1706799353814.png

     

    Condition Check

    Add a Condition action. Insert the output from the Compose action storing the number of rows returned in the first value field. Change the operator to is not equal to and enter a 0 in the second value field.

    creativeopinion_6-1706799416146.png

    In the Yes branch you can add the action(s) that you want the flow to run if an item is found in your Excel Table. Insert any actions you'd like to run if there aren't any items returned into the No branch

    creativeopinion_7-1706799584696.png

     

    You might also be interested in a new YT Tutorial I recently uploaded: How to Get a Microsoft Form RSVP Response into a SharePoint List

    I cover the following in this video tutorial:

    How to get a Microsoft Form Response into SharePoint

    How to get a Microsoft Form ID

    How to get a Microsoft Form response

    How to Build a Microsoft Form with Conditional Fields

    How to used Branching in Microsoft Forms

    How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column

    How to parse a Microsoft Form multiple choice response as string of text

    How to convert a text response to a number

    How to use the Switch action

    How to create a custom email confirmation for a Microsoft Form submission

    How to Create a Custom View in a SharePoint list

    How to use the Compose Action

    How to write Power Automate Expressions

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response! If you're feeling generous— ️  Buy me a coffee: https://www.buymeacoffee.com/acreativeopinion

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok
     

     

     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard