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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (43,218)