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 / Add Same headers to cr...
Power Automate
Unanswered

Add Same headers to created excel sheets.

(0) ShareShare
ReportReport
Posted on by

I have a automation where i will be creating multiple excel sheet with tables of information.  Each excel sheet will have the same column headers. See below the 4 header names for each excel sheet.  See below.  How would I make sure that once the excel sheet is created the headers below are added?  Is there also a way to extract certain columns of information from a datable from the web?

Column/Header 1 = OrgName

Column/Header 2 = Letter

Column/Header 3 = Model

Column/Header 4 = Year

I have the same question (2)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Natron26 

     

    Normally power automate should have the feature to add headers when datatable is written to excel file, but it don't have 😞

     

    So alternatively, you can try the below approach to add headers to an excel file :

    Nived_Nambiar_0-1705516606828.png

     

    first step will create a datatable with headers as one row value like below:

    Nived_Nambiar_1-1705516638578.png

     

    Then while writing the variable to excel , you will see results like below:

    Nived_Nambiar_2-1705516673043.png

     

    For extarcting information from web, you need use extract data from webpage action 🙂

     

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Natron26 Profile Picture
    on at

    Thanks for this, I was thinking the same thing just wasn't sure how to write the code in the set variable for the columns, this will also help out in other parts of this automation.  Thanks for the help nice work.

  • Natron26 Profile Picture
    on at

    Maybe you could help me with the below question I posted earlier?

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Extracting-Chosen-information-from-online-data-table-writing-to/m-p/2556180

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard