Stacking five spreadsheets by hand eats an hour you could spend reading the result. Copy, paste, sort, swear at the duplicate row, repeat. A combined sheet takes minutes when the columns line up and the merge is repeatable. These five Claude prompts align the headers, merge without dupes, and set up a routine that survives next month’s files. Fill the table, paste the prompts, and the stack becomes one table.
Where most attempts fall flat
- Sheets are pasted on top of each other, so the second header row becomes a data row and breaks every total.
- The same record appears in two files, and the merge keeps both copies, doubling the count.
- The append is manual, so next month the same hour of copying starts over from scratch.
Prompts that fix it
1. Line up the columns
These sheets have different headers: [sheet list]. Produce one canonical column order that covers all of them, map each sheet's headers to it, and name any column that must be created or split.
What it does: Builds the shared shape before any row moves.
How to use: replace [sheet list]; keep the rest as is.
2. Merge without duplicates
Write the steps to combine [sheet list] in [spreadsheet app] into one tab, matching the canonical order. Use [key column] to drop duplicate records and show the formula or query that does it.
What it does: Joins the files while keeping each record once.
How to use: replace [sheet list], [spreadsheet app], and [key column]; keep the rest as is.
3. When the headers differ
Sheet A calls it [header A] and Sheet B calls it [header B], but they mean the same field. Given [sample rows], confirm they match, rename to [canonical name], and flag any value that would not fit the shared type.
What it does: Resolves naming drift so the merge does not split one field in two.
How to use: replace [header A], [header B], [sample rows], and [canonical name]; keep the rest as is.
4. Master sheet that stays correct
Design a master sheet in [spreadsheet app] that pulls [sheet list] through a query, keeps [key column] unique, and adds a [source tag column] showing which file each row came from. Show the query.
What it does: Keeps the combined view correct and traceable.
How to use: replace [spreadsheet app], [sheet list], [key column], and [source tag column]; keep the rest as is.
5. Update routine that scales
Give me a repeatable routine in [spreadsheet app] to add next month's file [new sheet] to the master without redoing work. Include how to extend the range and re-check [key column] for new duplicates.
What it does: Turns a one-time merge into a monthly five-minute step.
How to use: replace [spreadsheet app], [new sheet], and [key column]; keep the rest as is.
Weak ask vs better ask
| Weak ask | Better ask |
|---|---|
| Combine these sheets for me. | Combine [sheet list] in [spreadsheet app] into one tab, match canonical order, drop dupes on [key column], show the query. |
| Why are there doubles? | Two files share [key column]; write a merge in [spreadsheet app] that keeps each record once and tags the [source tag column]. |
The better ask states the app, the key column, and the rule for keeping one copy.
Keep going
- Browse the Excel & Spreadsheets prompt library
- Audit the result with Claude prompts for spreadsheet audits.
- Outline the content with ChatGPT prompts for keyword research.
More free prompts for Excel & Spreadsheets are waiting in the GuPrompt library.