cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shoaibsam12
Frequent Visitor

Update the Key ID in excel when new response was submitted

Hi,

 

I have created a flow in which when a response from MS Form is submitted, a row is added to an excel table with some data from the Form. 

 

Flow issue.png

 I want to update the value in Key ID. For example, my last Key ID was 23 the updated should be 24. 

 

how I can do that

 

Thanks in advance

Cheers

SM

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @shoaibsam12 

 

Couple of ways you can do this, 

1. Create a calculation in the column in excel itself such that every cell is the sum of the previous cell value and 1. This way you do not have to update it from flow. 

 

2. Add an action to list rows present in a table. In a compose action use the length function to get the length of items returned on the list rows action. in the key value, use the add function to add the length and then 1 to increment that value. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1

Hi @shoaibsam12 

 

Couple of ways you can do this, 

1. Create a calculation in the column in excel itself such that every cell is the sum of the previous cell value and 1. This way you do not have to update it from flow. 

 

2. Add an action to list rows present in a table. In a compose action use the length function to get the length of items returned on the list rows action. in the key value, use the add function to add the length and then 1 to increment that value. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,684)