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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can I create a Uni...
Power Automate
Answered

How can I create a Unique ID in excel using MS Flow

(0) ShareShare
ReportReport
Posted on by 27

Dear all, I am looking for a way to add a Unique ID for each row that is automatically added to an excel file using Flow. 

I am a novice to building Flows so I hope there is a simple solution

Thank you!

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    Hello @grigkate ,

    you don't need Power Automate for that, you can use formula in the Excel table to assign an ID based on the row number.

    =ROW()-ROW([#Headers])

    source: Excel formula: Automatic row numbers in Table | Exceljet

  • grigkate Profile Picture
    27 on at

    Thank you @tom_riha! It works perfectly!

  • tdmh63 Profile Picture
    12 on at

    I came here to find solution for adding ID column to Excel using Power Automate, I don't understand how Excel formula can be accepted answer when it does not address the issue at all??

  • grigkate Profile Picture
    27 on at

    The issue I was trying to solve was to append entries to an excel file using an automated report that is running every week and is collecting new entries for the span of the week. By using this formula in the first column of the excel file, all appending entries are added below the existing entries and are not overwriting the existing data.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard