Guide

Excel automation: how to stop copying data between spreadsheets by hand

This guide is for CFOs, department managers and owners of companies where someone pieces together a report from several spreadsheets every week. We show which tasks can be automated with tools you probably already have in Microsoft 365, what it costs and how to start with a single report.

Author: Kacper Włodarczyk, CEO of ALGORCOMPPublished: May 23, 2026Reading time: 10 min readBusiness process automationFor: Universal
Excel automation: how to stop copying data between spreadsheets by hand

Where the hours go when working with Excel

Take a hypothetical distribution company with six branches. Every Monday, a finance specialist opens six sales spreadsheets, copies the data into a summary file, fixes date formats and deletes empty rows. Then she recalculates the totals and pastes the results into an email for the management board.

None of these tasks needs her expertise. They need only time and attention, and copying makes it easy to introduce an error nobody notices. In most companies, the same types of work keep coming up:

  • Combining several spreadsheets from branches, salespeople or departments into one report.
  • Cleaning data after exporting it from the accounting system, ERP or online shop.
  • Repeating the same calculations, filters and pivot tables on new data every week.
  • Retyping results into an email or presentation for the management board.
  • Keeping registers – for example of leave, equipment or contracts – in a file edited by several people.

How to work out what manual copying costs your company

Instead of general statistics, use your own data. The formula is simple: hours per week × working weeks per year × fully loaded hourly cost, including social security contributions and holidays.

Assume the report in our example takes 2 hours a week and the year has 46 working weeks. That gives 92 hours a year. At PLN 70 an hour, that comes to about PLN 6,440 a year – for one report by one person.

On top of that come costs that are harder to quantify: an error in a pasted range, a late report when its author is ill, and decisions made on out-of-date data. Do not add them to the total without evidence, but do mention them to the management board.

Excel automation: how to stop copying data between spreadsheets by hand

Which tool for which problem

Not every Excel problem is solved by the same tool. The table below maps typical tasks to Microsoft 365 tools and shows whether you need an additional licence. Power Query is usually the first choice.

Typical Excel tasks and the tools for automating them
TaskToolAdditional licence
Combining spreadsheets, cleaning exported dataPower Query in ExcelNo
Repetitive formatting, buttons in a spreadsheetOffice Scripts or macrosNo, on Microsoft 365 plans that include the Office apps
A report refreshed and emailed on a schedulePower Automate with an Office Script (without refreshing Power Query), or Power BI with scheduled refreshPower Automate: usually not for standard Microsoft 365 connectors; Power BI: sharing reports requires a paid licence
Moving data from a program that cannot be connected toPower Automate for desktopNo when run manually; yes when scheduled
A register edited by several peopleMicrosoft ListsNo
Writing formulas, charts, quick analysisCopilot in ExcelYes, Microsoft 365 Copilot

Power Query: combining and cleaning data without copying

You will find Power Query in Excel on the Data tab, in the “Get & Transform Data” group. It works like a recorded recipe: it saves the steps you perform on the data and repeats them on new files when you refresh.

In the branch example, all that is needed is for each branch to save its spreadsheet in one folder in OneDrive or SharePoint. Power Query takes all the files from the folder, combines them into one table, removes empty rows and standardises the dates. On Monday, the specialist clicks “Refresh All” and the data is ready.

Power Query also pulls data from databases, CSV files and web pages. Connecting to an accounting system or ERP depends on how the system makes its data available – sometimes a scheduled export to a folder is enough.

There is one condition: the source files must have a fixed column layout. If the branches change the headings every month, start by standardising the template.

A finance specialist refreshing a summary report in Excel that is linked to the branches’ spreadsheets

Excel is not the problem. The problem is that every Monday someone spends two hours doing the same thing in it.

Macros, Office Scripts and Power Automate: when the report should build itself

Power Query prepares the data, but someone still has to click “Refresh”. If the report is to be produced automatically and sent to the management board, you need a second component – and you need to know one of its limitations.

Office Scripts work in Excel for the web and in Excel for Microsoft 365 on the desktop. You record your actions, and Excel saves them as a script that can be run with a button or from Power Automate. Power Automate can run it, for example, every Monday at 7:00 and email the result.

The limitation is this: a script run by Power Automate does not refresh Power Query queries. According to Microsoft’s documentation, data refresh in such a flow works only for Power BI sources. The flow can therefore format and distribute data that is already in the file, or pull rows from tables in the branch files itself. A Power Query-based report that needs to refresh without human involvement is better moved to Power BI with scheduled refresh.

VBA macros – older programs stored in an Excel file – still work in desktop Excel. However, Microsoft blocks them by default in files from the internet and from emails, and they do not work in the browser. New automations are therefore better built on Office Scripts and Power Automate.

Power Automate for desktop is useful where data can only be extracted by clicking through an old program. Such a robot repeats a person’s actions, but it is sensitive to any change in the program’s appearance. Treat it as a last resort, not a first choice.

Copilot in Excel: what it helps with and what it will not do

Copilot in Excel writes formulas from a description, creates charts and pivot tables, sorts and filters data and points out trends. It helps most those who use Excel often but do not know its advanced features.

Copilot does not replace Power Query. It helps with one-off analysis, not with a process that has to produce the same result every week. Its output also needs checking, because Copilot may misunderstand the instruction or the data layout.

Copilot is a paid add-on. Microsoft 365 Copilot Business costs USD 21 per user per month, and the version for large companies costs USD 30. Buy it for the people who do a lot of analysis, not for a whole department to begin with.

When a spreadsheet should stop being a spreadsheet

Excel in Microsoft 365 lets several people edit a file at the same time and has version history and data validation. Even so, it is not suitable for a register that several people maintain over years. It is easy to overwrite someone else’s row, change a formula or sort just one column.

Microsoft Lists, available in Microsoft 365 and in Teams, looks like a table but works like a simple database. Every entry has a change history, fields can require a specific format, and you can add a form and notifications to a list.

Consider moving a spreadsheet to Lists when it meets at least two of the conditions below. When a register becomes the heart of a process, such as order handling, it is worth thinking about an app in Power Apps or a specialist system for that process.

  • More than two people edit it regularly.
  • Each row is a separate item, such as a device, contract, request or complaint.
  • It matters who changed an entry and when.
  • Someone checks every week that data has been entered correctly and completely.

Your first project in five days

The first project should be small, visible and measurable. One person and one report that takes them between one and three hours a week are enough. The plan might look like this:

  • Day 1 – choose a report: repeated at least once a week, read by someone else, based on digital data rather than scans.
  • Day 2 – do it once carefully and write down every step. There are usually a dozen or several dozen actions nobody remembered.
  • Day 3 – choose a tool using the table above. In most cases it will be Power Query.
  • Day 4 – build the automation and compare the result with the report made by hand.
  • Day 5 – show the result to the recipient, write short instructions for refreshing it and name someone to stand in for the author.

The most common mistakes in Excel automation

The tools are simple, so mistakes usually stem from how the work is organised rather than from the technology. These come up most often:

  • Trying to automate a dozen or more reports at once. It ends in fatigue and the topic being dropped – better one report, then the next.
  • Only the author understands the automation. When they go on holiday, nobody knows what to do if a refresh returns an error.
  • Source files kept in private folders on a local drive instead of in a shared location in OneDrive or SharePoint.
  • Building complex macros where Power Query would do.
  • Keeping a register in Excel that should long ago have become a list or an app.

Related topics in the knowledge base

Read next

FAQ

Excel automation – frequently asked questions

Questions that come up when a company starts bringing order to its spreadsheet work.

Do I need to know how to code to use Power Query?
No. You perform most steps with the mouse in the editor, and Power Query records them in the background. The formula language is only useful for unusual transformations. You will find free courses on Microsoft Learn.
Will Power Query replace Power BI?
No. Power Query prepares data and is built into both Excel and Power BI. Power BI is for reports viewed by many people, with permissions and automatic refresh. Companies often start with Excel and move to Power BI when a report has many recipients.
Why can’t Power Automate see the data in my spreadsheet?
The Power Automate connection to Excel works with tables, not ordinary cell ranges. Select the data and insert a table (Ctrl+T), and save the file in OneDrive or SharePoint. This is the most common cause of problems with a first automation.
Who in the company should maintain these automations?
Ideally someone from the department that uses the report, with a deputy and support from someone in IT. It is important that the automations run on shared files and company accounts, not on one employee’s private drive.
Can data exported from the accounting system contain personal data?
Often, yes – for example details of customers or suppliers who are private individuals, or of employees. Store such files in a location with access control, not in folders shared with the whole company. Pull in only the columns the report needs.

About this page

About the author

Kacper Włodarczyk — CEO of ALGORCOMP

Kacper Włodarczyk

CEO of ALGORCOMP

Kacper specializes in implementing Microsoft 365 Copilot, Copilot Studio, Power Platform (Power Automate, Power Apps, SharePoint) and AI agents for mid-sized B2B companies in Poland. He leads dozens of projects covering AI strategy, Power Platform governance, document workflow automation and sales processes. In his writing he focuses on the practical side of AI adoption in organizations — from the first proof of concept to company-wide rollout — with particular attention to data security, compliance (GDPR, NIS2, the AI Act) and return on investment.

Meet the team

Do you have a report that someone assembles by hand every week?

We will help you choose the first spreadsheets to automate, build the automations with the Microsoft 365 tools you already have and train the people who will maintain them.

Featured

Related articles