Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Planner
    • Outlook
    • SharePoint
    • Teams
  • Triggers
  • Resources
  • ABOUT ME
  • Get help with your flow
Menu

How to add a row to a new Excel sheet with Power Automate

Posted on January 26, 2022January 26, 2022 by Tom

“I’m able to create a new sheet with Power Automate, but how can I then add a row in this new sheet? It keeps adding to the old one.”


Most of the Excel actions in Power Automate work with a table. You tell the flow which table it should access, and what should happen. But when working with Excel in a standard way, you don’t use so many tables. You probably use multiple sheets instead. If there’s another type of information, you would create a new sheet, and store the data in it.

If you follow the same approach with Power Automate, you’ll notice the ‘Create worksheet’ action. It’ll create a sheet in the Excel file, but what’s next? How do you add a row to the new sheet?

Power Automate always needs a table

There’s no action you could use to switch sheets. But that’s not a problem, because Power Automate doesn’t work with sheets anyway. It always needs a table. No matter how many sheets you have or create, if they don’t contain a table, flow won’t process the data. That means, to add any rows in a new sheet, you must always include also the ‘Create table’ action.

Let’s create a new sheet called NewSheet.

The output is an empty sheet. Before you can add any rows in that sheet, you must create a table on it with the ‘Create table’ action. The important part here is the ‘Table range’. You don’t enter just the start and end cell, that would create the table in the first sheet. You want to include also the name of the new sheet, using the standard Excel sheet reference:

NewSheet!A1:B2
Power Automate add row new sheet

In this example it’ll tell the flow: go to the sheet NewSheet, and create a table from cell A1 to cell B2. Once you have the table, you can start adding rows.

Summary

When working with Excel files in a flow, you must always work with tables. While Power Automate allows you to create a new sheet, it doesn’t allow you to add any new row into it unless you create a table in that sheet. Once it’s created, you can use all the other Excel features on that sheet.


Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Do you know what to do, but not how to do it?

Get The Ultimate Power Automate expressions cheat sheet and translate your thoughts into flows with ease!


There's also the HTTP requests to SharePoint cheat sheet to help you overcome limitations of some standard actions!

Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

Didn't find what you were looking for?
Need to adjust a solution to fit your needs?
Or would you just like to get an assistance from somebody with 1000s of hours of experience with Power Automate?

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2023 Let's POWER Automate | Theme by SuperbThemes