Excel Formulas for Reports & Dashboards
A report is raw data plus presentation logic: clean the names, format the dates, join the labels, flag the exceptions. These are the formulas that turn a data dump into something a manager can read.
The functions you will actually use
| Function | What it does in this workflow |
|---|---|
| TEXT | Format numbers and dates as display strings — the report header workhorse. |
| TEXTJOIN | Join a list with a delimiter, skipping blanks (Excel 2019+/365). |
| CONCATENATE | Legacy joining; still the right answer on older Excel. |
| PROPER | Title-case names: “john SMITH” → “John Smith”. |
| TRIM | Strip leading/trailing spaces and collapse inner doubles — the fix for “identical” values that won't match. |
| SUBSTITUTE | Replace specific text: clean codes, units and punctuation. |
| IFS | Multi-condition labels without nesting IF five levels deep. |
| SWITCH | Map exact values to labels: status codes to readable text. |
| UNIQUE | Distinct label lists for slicers and dropdowns. |
| SORT | Ordered output without re-sorting the source. |
Worked examples (engine-computed)
Format a date cell as an ISO string for a report header
=TEXT(DATE(2026,11,23), "yyyy-mm-dd")
Result: 2026-11-23 — computed with the same HyperFormula 3.5 engine that powers our labs, not hand-calculated.
Join a list of names, skipping blanks
=TEXTJOIN(", ", TRUE(), A2:A5)
Result: Ada, Linus, Grace — computed with the same HyperFormula 3.5 engine that powers our labs, not hand-calculated.
Clean " john SMITH " into a display name
=PROPER(TRIM(" john SMITH "))
Result: John Smith — computed with the same HyperFormula 3.5 engine that powers our labs, not hand-calculated.
The mistake to avoid. TEXT turns numbers into strings. Once a value passes through TEXT, SUM and AVERAGE ignore it — your total silently drops rows. Keep a numeric column for math and a TEXT column for display; never overwrite the source. Note also that our in-browser engine supports a subset of Excel's format codes; the TEXT lab publishes the exact support matrix so you know what transfers.
TEXTJOIN or CONCATENATE?
TEXTJOIN when you have a delimiter and possible blanks — one formula instead of nested IFs. It requires Excel 2019 or Microsoft 365. On older versions, CONCATENATE (or the & operator) is the compatible path; our comparison page shows both.
Why do my dashboard labels show #N/A?
A lookup feeding the label found no match. Wrap it in IFERROR with a readable default, and fix the root cause — usually trailing spaces, which TRIM removes.
Make the next report readable.
Start with TRIM + PROPER for the name columns and TEXT for the headers — three formulas, immediate visible difference.
Open the TEXT labBrowse all labs