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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,010)