cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Yoggington
Level: Power Up

Updating Excel table cell where Column name is dynamic

Hello,

I am attempting to use the 'Excel Business Online' connector, with the 'Update a Row' action. The name of the column is dictated by the value of a variable, which is only established when the flow runs.

 

For example, when a user is absent, this will be recorded by the flow, and I need to update this value under the Jan-18 date of an excel table similar to the below table, for the key value pair of Name-Jack.

 

Unfortunately, this means the column names appear as options to push the string value 'absent' to. 

Instead I would like to dynamically fill the cell in the correct column, based on the date which is only generated at runtime.

 

How is this achieved?

 

NameJan-15Jan-16Jan-17Jan-18Jan-19

John

     
Jack   absent 
Jill     
Joe     
1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Updating Excel table cell where Column name is dynamic

Hi @Yoggington 

 

This is currently not supported in the excel connector directly. To use the add a row action, you need to manually navigate and select the file and then select from the tables that appear in the drop down and then pass individual items to each column. These values for the file, table or the columns cannot be dynamically passed and cannot be set in run time. 

 

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
Dual Super User
Dual Super User

Re: Updating Excel table cell where Column name is dynamic

Hi @Yoggington 

 

This is currently not supported in the excel connector directly. To use the add a row action, you need to manually navigate and select the file and then select from the tables that appear in the drop down and then pass individual items to each column. These values for the file, table or the columns cannot be dynamically passed and cannot be set in run time. 

 

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

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,865)