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 / Flow for searching exc...
Power Automate
Unanswered

Flow for searching excel column, update row or add row

(0) ShareShare
ReportReport
Posted on by 2
I am attempting to make a flow that will take Microsoft form responses and check an excel sheet to see if a phone number is already present. If so, update the corresponding row with the current form responses. If not then add a row.
Very new to Automate so this may be a simple fix but I am not knowledgeable enough to know how to fix this. Any help would be appreciated.

This is the flow as I have it setup.


This is the error I get when testing the flow, and the addition of an Apply to each.
Categories:
I have the same question (0)
  • narayan225 Profile Picture
    2,547 Super User 2025 Season 2 on at
    Based on your flow, it seems like you want to get all the responses submitted in a form and then search for the phone number for each submission.
    If you are trying to do that, you will need to put the rest of the actions inside the Apply to each condition. The error says that you are trying to compare the phone number value for all responses at once and that won't work.
     
    If you are supposed to do it one by one, you will need to Trigger it by form submission and get response for that submission instead of all submissions.
    Like this:
     
    After that you can search your excel file based on the user response without any issues.
     
    Hope this helps.
    Cheers!
  • LB-13011934-0 Profile Picture
    2 on at
    This is where I am at now. I have tried reconnecting with a new action for getting the responses but each time I test the flow it gives the BadRequest error. 
  • narayan225 Profile Picture
    2,547 Super User 2025 Season 2 on at
    Can you show me what you have in the Response Id field in the get response details action?
     
    Make sure you have selected the dynamic content (Response Id) from previous action.
     
    Best regards

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