Skip to content

Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Problems
  • Triggers
  • Application specific solutions
    • Excel
    • Forms
    • Planner
    • Outlook
    • SharePoint
    • Teams
  • Resources
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 *

Now available:

The Ultimate Power Automate expressions cheat sheet
Equip yourself with the tool to translate your thoughts into Power Automate expressions!

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.

Hello and welcome!

My name is Tom and I'm a business process automation consultant and Microsoft MVP living in the Czech Republic. I’ve been working with Microsoft technologies for almost 10 years, currently using mainly Power Automate, SharePoint, Teams, and the other M365 tools.

I believe that everyone can automate part of their work with the Power Automate platform. You can achieve a lot by "clicking" the flows in the designer, but you can achieve much more if you add a bit of coding knowledge. And that's what this blog is about.

To make the step from no-code Power Automate flows to low-code flows: using basic coding knowledge to build more complex yet more efficient flows to automate more of your daily tasks.

  • Format results of date calculation in SharePoint columnJune 29, 2022
  • Why is your Power Automate flow creating duplicatesJune 26, 2022
  • How to create a unique identifier in your Power Automate flowJune 22, 2022
  • How to assign custom SharePoint permission level with Power AutomateJune 19, 2022
  • Remove permissions from a specific SharePoint user with Power AutomateJune 15, 2022

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

© 2022 Let's POWER Automate | Powered by Superbs Personal Blog theme