cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
b-oneal_12
Frequent Visitor

Complex MS Form to Add Row in Excel to Multiple Tables

Hello All,

 

I have a very specific use case that I am trying to solve and I do not know if this is possible. I want to create a flow that when a form response is submitted, depending on the date selected in the form, it adds to a row to a specific worksheet table depending on that date.

 

For example: If someone selected January 2021 in the MS form, it would add a row to only the table that is for the month of January, each month would have a separate worksheet in the excel document with a separate table as well.

 

I am trying to make it so that the flow can add to the specific months and I can make this flow more self-sustaining on a yearly basis without having to create a copied excel worksheet every month.

 

I currently have a simple flow set up that adds a row to an excel sheet, but we would still have to duplicate the sheet every month and clear out the old data.

 

If anyone could assist with this, that would be wonderful.

 

Thank you and let me know if you have any questions.

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @b-oneal_12 

 

Please see below where I dynamically pass the table name. In your case the month. Then insert the value in JSON format.

 

"ColumnName":"value"

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

4 REPLIES 4
abm
Super User
Super User

Hi @b-oneal_12 

 

Please have a look at this blog Create and fill an Excel file dynamically with Power Automate » Benedikt's Power Platform Blog (bene...

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
abm
Super User
Super User

Hi @b-oneal_12 

 

Please see below where I dynamically pass the table name. In your case the month. Then insert the value in JSON format.

 

"ColumnName":"value"

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

b-oneal_12
Frequent Visitor

Thank you for the reply! I am trying to figure this out - could you show more as to what the flow would look like? I can either add a calendar picker into the MS Form or a have dropdown options in the form for all months. This is the simple flow that I have now: 

 

boneal_12_0-1623860167636.png

 

Any help would be amazing so that I can complete this project.

 

b-oneal_12
Frequent Visitor

I have attempted what was listed and was able to recreate it and get it to work. 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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,368)