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.

View solution in original post

Hi v-bacao-msft,

 

That worked perfectly. 

 

Thank you. 👍

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,287)