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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (66,930)