web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating Excel table c...
Power Automate
Answered

Updating Excel table cell where Column name is dynamic

(0) ShareShare
ReportReport
Posted on by 2

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     
Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    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!

  • wattch Profile Picture
    2 on at

    Hi, Just wondering if you ever found a solution?

    I'm trying to do something similar but my columns are Years (YYYY), I can probably get away with conditional statements within each column. Its not idea but will work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard