I've been closing books in spreadsheets since Lotus 1-2-3. The year-end file is the one somebody still opens two years later, when a number gets questioned. If you archive a mess — blank amounts, duplicate invoices, live formulas pointing at a file that no longer exists — you inherit that mess. Here is the checklist I use on Windows Excel 365.
1. Find the blanks
Do not select an entire column first — Excel will also grab the empty cells below your data. Select only the used range: click inside the data and press Ctrl+A once, or drag the block (for example, A1:E13).
Then press F5 (or Ctrl+G), click Special..., choose Blanks, and click OK. The empty cells in that range become the new selection. Do not fill them with 0 unless you mean it. The same dialog is also at Home > Find & Select > Go To Special > Blanks.
The blank-as-zero gotcha
If Fee is =D4*0.05 and D4 is blank, Excel treats that blank as 0. The fee shows $0.00, and it looks like a real, booked line. Your totals will include those zeros as if they were legitimate sales. Find the blanks first.
2. Find formula errors
Use the same Go To Special dialog, but choose Formulas. Uncheck Numbers, Text, and Logicals so only Errors is ticked, then click OK.
Excel selects cells whose formulas are currently returning an error — #N/A, #REF!, #DIV/0!, #VALUE!, #NAME?, and the rest. It will not find errors already pasted as values, or a broken reference inside a defined name (see step 7). Fix those cells one by one; do not wrap everything in IFERROR until you know why it failed.
3. Flag the duplicates, then decide whether to delete
Select the column that should be unique — invoice numbers, employee IDs, SKUs. Then go to Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values... Leave the first box on Duplicate, use Light Red Fill with Dark Red Text, and click OK.
Two rows with INV-1042 and two different clients is an audit finding, not something to auto-delete. For a distinct list:
Remove Duplicates (Data > Data Tools > Remove Duplicates) permanently deletes the extra rows from the source. Use it only on a copy, or after you have reviewed the flags. Ctrl+Z undoes it only if you catch it before you save and close.
UNIQUE leaves the source alone. In a blank column, enter =UNIQUE(Sales[Invoice]) or =UNIQUE(A2:A13). It spills the distinct list and updates when the source changes. (Microsoft 365 or Excel 2021.)
4. Clean stray spaces with TRIM
A region that looks like "North" in the cell can be "North " in the formula bar. Those trailing spaces break lookups, PivotTables, and UNIQUE. You cannot TRIM a cell with a formula that refers to itself, so use a helper column:
In a blank column, enter =TRIM(C2) and fill down.
Copy the results and paste them as values over the original: Ctrl+Alt+V, then V, then Enter.
Delete the helper column.
TRIM removes leading and trailing spaces and squeezes repeated internal spaces down to one. It does not remove non-breaking spaces (character 160) from web pages or Word. For those, use =TRIM(SUBSTITUTE(C2,CHAR(160)," ")).
5. Convert the range to a Table
Click inside the data and press Ctrl+T (Ctrl+L also works, as does Insert > Table). Confirm the range — interior blanks do not break Excel's current-region guess — and leave My table has headers checked. Click OK.
A fee of =D2*0.05 becomes =[@Amount]*0.05, and new rows pick up the formula. For a total line, turn on Table Design > Total Row. Rename Table1 on the Table Design tab, in the Table Name box.
6. Check external links
On the Data tab, look for Workbook Links. In some Microsoft 365 builds, and in Excel 2021, the command is still labeled Edit Links. If it is missing or grayed out, there are no external links. File > Info will also show Edit Links to Files when links exist.
An archive that still points at Rates.xlsx on someone's desktop will show #REF! or stale values once that file moves. Update what you still need, or break the link after you paste values in the archive copy (step 9).
7. Check hidden sheets and names
Right-click any sheet tab and choose Unhide... If Unhide is grayed out, there are no regularly hidden sheets. Sheets hidden as "very hidden" in VBA will not appear in that list.
Then press Ctrl+F3 (Formulas > Defined Names > Name Manager). Look for names with #REF! in the Refers to box, names that point at another workbook, and old names nobody uses. Delete the stale ones.
8. Inspect the document
Go to File > Info > Check for Issues > Inspect Document, then click Inspect. It looks for comments, document properties, headers and footers, hidden rows, columns, and worksheets, and other invisible content.
Read the results before you click Remove All — removing hidden rows can delete data you still need. Run this on a copy: a spare Save As, or the archive you have not frozen yet.
9. Save a dated archive, then freeze the formulas
Press F12 (or File > Save As) and use a name you can find later: Sales_2026_ARCHIVE.xlsx. Keep the working file (Sales_2026.xlsx) as the live model, formulas and all.
In the archive copy only, select the formula cells you want to freeze. In a Table, click the Fee header once to select the data body (Sales[Fee]). Copy (Ctrl+C), press Ctrl+Alt+V, then V for Values, then Enter. Or use Home > Paste > Values (the clipboard icon with 123).
The cells keep their number formats ($640.00 still looks like $640.00), but the formula bar shows the raw number, 640. Do not paste values in the working file — you will need those formulas for next year.
10. Protect and mark the archive as final
This is a flag, not a vault. Review > Protect Sheet will stop casual edits. Every cell starts out Locked; protection is what makes that lock mean something. Add a password only if you will remember it — Excel cannot recover it.
Then go to File > Info > Protect Workbook > Mark as Final. The next person who opens the file sees a "final" banner and can still choose to edit.
11. Start next year's file from the live workbook, not the archive
The frozen archive is the record. Next year's file should be a copy of the working workbook — the one that still has =[@Amount]*0.05. Use File > Save As and name it Sales_2027.xlsx. Clear last year's transactions, but keep the headers, the Table, the formulas, and the formatting. Update the year in titles and any hard-coded date ranges. If you start from the archive, you will be typing over values with no formulas underneath.
Common mistakes
Selecting an entire column before Go To Special > Blanks, then wondering why tens of thousands of empty cells are selected.
Filling those blanks with 0, which hides the blank-as-zero problem in calculated columns.
Running Data > Remove Duplicates on the only copy of the file.
Trusting TRIM alone on text from a web page. CHAR(160) will still be sitting there.
Pasting values in the working file, or starting next year from the frozen archive.
Clicking Remove All in Inspect Document without reading what it found.
Treating Mark as Final or sheet protection as security. For sensitive data, use File > Info > Protect Workbook > Encrypt with Password.
A short checklist you can print
Used range only. F5 > Special > Blanks. Review; do not auto-fill with 0.
F5 > Special > Formulas, Errors only. Fix what you find.
Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values. Review before deleting.
=TRIM(C2) in a helper column (add SUBSTITUTE for CHAR(160) if needed). Paste Values over the source.
Ctrl+T, My table has headers checked. Rename Table1.
Data > Workbook Links (or Edit Links). Update or break stale links.
Unhide sheets. Ctrl+F3; clean stale or #REF! names.
File > Info > Check for Issues > Inspect Document, on a copy.
F12 to Sales_2026_ARCHIVE.xlsx. In that copy only: Ctrl+C, Ctrl+Alt+V, V, Enter on formula columns.
Review > Protect Sheet and/or File > Info > Protect Workbook > Mark as Final.
Save As next year's file from the live workbook, not the archive. Clear the data, keep the formulas.
If you want a one-page set of the shortcuts I use every day, grab the free Excel speed cheat sheet: globalexcelsolutions.com/cheat-sheet
If you would rather have workbooks like this built for your team, I design them at globalexcelsolutions.com.
If you are standing up next year's operating file from scratch, the Small Business Cash Flow & Budget Tracker is in the store: globalexcelsolutions.com/store