cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lewis_ward1
Helper I
Helper I

Update Row Excel if Form Submission has changes

Good morning,

 

This may not be possible but thought it would be worth an ask.

 

We have an online Microsoft form that colleagues complete and it simply updates their record based on their response. 

Because they may not input updated data in all fields as it may not have changed they will leave it blank. When they click submit on the form it will then update the row but will delete the data there as it was left blank. 

My question is, is there any way you can tell power automate that if the response is blank then don’t copy anything. If the response is filled in then copy that across?

 

Thanks

Lewis

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @lewis_ward1 ,

 

You need to add a Get row action above the Update row to get the value of the field contained in the corresponding row.

 

Then use the if() function to check whether the content submitted by the user is empty when configuring each field. If it is empty, the field value obtained from Get row action is filled in here; if it is not empty, the user is submitted Content is filled here.

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#i...

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#e...

 

If(empty(submission), 'Getrow', 'submission')

 

Hope that makes sense.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

 

Hi @lewis_ward1 ,

 

You need to add a Get row action above the Update row to get the value of the field contained in the corresponding row.

 

Then use the if() function to check whether the content submitted by the user is empty when configuring each field. If it is empty, the field value obtained from Get row action is filled in here; if it is not empty, the user is submitted Content is filled here.

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#i...

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#e...

 

If(empty(submission), 'Getrow', 'submission')

 

Hope that makes sense.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi v-bacao-msft,

 

That worked perfectly. 

 

Thank you. 👍

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,496)