Free 15-minute callFree 15-minute call →
艾维禾砺Vibe Coding LabIvheli · 1:1 coaching
Practice notes

That spreadsheet you rebuild by hand every week: how to hand it to AI, step by step

The safest place to start with spreadsheet automation is the table you have already made dozens of times and can check at a glance. Follow the steps below to hand over one section of it, instead of rebuilding everything at once.

Updated 2026-10-293 min readFree guides · 89/96

Pick one section first, not the whole table

The easiest way to fail at automating a table is to hand the whole thing — collecting, cleaning, summarising and formatting — to AI in one go. A better approach: first pick one section that you repeat every week and can check at a glance.

For example, every Monday you: merge the sales details sent by three account managers into one weekly report, group by client and calculate the total and the week-on-week change. The whole job can be split into four stages — collecting files, merging, calculating, producing the report. Automate the “merge + calculate” section first; keep collecting files and producing the report as they are for now.

Step one: write down your current manual steps

Open a document and write down every action you take when making this table, in order, as detailed as possible:

  1. Open the three files A, B and C, and copy them into a new sheet
  2. Remove blank rows and duplicated header rows
  3. Group by client name and sum the amounts
  4. Calculate the change compared with last week
  5. Adjust the formatting and post it in the group chat

While writing, you will naturally notice two things: where there are actually rules (“remove blank rows”), and where you have always relied on ad-hoc judgement (“does this client count”). Write the ad-hoc judgements down too, and turn them into rules.

Step two: prepare “fake but real” material

Keep the format of the real files, but replace client names and amounts with fictional data — keep the row count, column names and the types of dirty data (blank rows, duplicated headers, text mixed into amount columns). This material is your practice ground: if it goes wrong, nothing is at stake; once it goes right, switch to real data.

Step three: give AI the steps and requirements together

The instruction to AI contains three parts: where the material is, which steps to follow, and what the final output should look like. For example:

These are the three sales detail files I merge every week (three fictional files attached). Process them in the following steps: merge into one table; remove blank rows and duplicated header rows; group by client name and sum the amounts; add a column calculating the change compared with last week; then output a new table and list every anomaly you find (amounts stored as text, missing dates, etc.). Give me a preview of the first 10 rows first; don’t generate the final file straight away.

Asking for a preview first is so that you can check the direction is right before it writes the whole file.

Step four: check against the old way of doing it

After AI returns the result, do three things:

  • Check the row count: how many rows should there be after merging? Even one row off, find out why.
  • Check the amounts: pick three clients and verify with a calculator or the original table.
  • Look at the anomalies: are the anomalies it lists the same ones you normally deal with?

Where something is wrong, write back “what is wrong + what you expected” and have it fix that. It only counts as passing when two consecutive spot checks are correct.

Step five: lock the method in

Save the material requirements, steps and checking method you wrote this time as a note you can reuse next week (you can use the template in “Your first automation: the decision worksheet”). Next week, change the data and run the same instructions again, then spot-check once more. After two stable weeks, consider connecting “collecting files” and “producing the report” too.

When to stop and ask for help

  • It involves client-sensitive data, account permissions or external payments;
  • The table contains many ad-hoc rules that only live in your head, and you still can’t write them down clearly after three attempts;
  • After several rounds of checking, the results are still sometimes right and sometimes wrong.

In these cases, narrow the scope first, or look at it with someone who knows. Talk for free for 15 minutes, bring the steps you wrote down, and we’ll work out together which section is safest to start with.

Questions

I don't understand formulas or code. Can I still do this?

Yes. The example uses the approach of stating the requirements clearly, letting AI do the work, and checking the result on the spot. AI writes the formulas and code; you judge whether the result is right.

My table contains client data. Can I practise with it directly?

Don't practise with real sensitive data. First run the process with material that has the same structure but fictional content; once the results are confirmed correct, switch to real data and check permissions and where it is stored.

Can I use the table AI produces directly?

Spot-check first: are the row counts right, do the amounts reconcile, are edge cases missing? Always check the first version against the old way of doing it; don't hand it over just because it says it's done.

Want to apply this to your own work?

Read next

Share this article

Where should your idea start?

Bring an idea or a question to a free 15-minute call. Confirm the conversation language and time when booking.

Book a free 15-minute call

Where should your idea start?

Free 15-minute call →Free guides

Book a free 15-minute call

Contact

Booking formEnterprise AI implementation & system developmentSee enterprise services (official site)
Add us on WeChat, mention Vibe Coding and tell us what you want to do
Add us on WeChat, mention Vibe Coding and tell us what you want to do