Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Make a KPI Report in Excel: Step-by-Step

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can build a KPI report in Excel by putting your raw data in a table, adding a column that calculates each KPI, then presenting the results with conditional formatting, charts, and a dashboard sheet. Nothing is required beyond Excel itself. The steps below work in Excel for Microsoft 365, Excel 2021, and Excel 2019; menu labels can differ slightly by version, device, or region.

What You'll Need

  • Excel for Microsoft 365, Excel 2021, or Excel 2019 (desktop or web; desktop has more chart and formatting options).
  • Your source data, ideally in a clean table with one row per record and clear column headers.
  • A clear definition of each KPI: its name, the formula, the target, and the time period.

Step-by-Step

  1. Open a new workbook and put your raw data on a sheet named Data. Keep one header row, no blank rows, and no merged cells. If your data comes from another system, paste it as values so formulas are not broken.
  2. Select any cell in the data and press Ctrl+T (Windows) or Command+T (Mac) to create an Excel Table. Confirm the range and tick My table has headers. Tables expand automatically when you add rows, which keeps your KPI formulas current.
  3. On a second sheet named KPIs, list each KPI in column A: for example, Total Sales, Conversion Rate, Average Order Value, On-Time Delivery. In column B, write the formula that calculates it from the Data table. Use structured references such as =SUM(Table1[Sales]) or =SUM(Table1[Sales])/SUM(Table1[Orders]) so the formula follows the table.
  4. Add a column C for the target and column D for the result versus target. A simple formula is =B2-C2 for the gap and =IFERROR(B2/C2-1,"") for the percentage difference. Format column D as a percentage.
  5. Add a status column E with a formula such as =IF(B2>=C2,"On track","Behind"). This gives you a text label you can filter and colour.
  6. Apply conditional formatting to the status column: select the cells, go to Home > Conditional Formatting > Highlight Cells Rules > Text that Contains, and set a colour for "On track" and another for "Behind". For numeric KPIs, use Data Bars or Color Scales so trends are visible at a glance.
  7. Create a chart for each KPI that changes over time. Select the date column and the KPI column on the Data sheet, then choose Insert > Line Chart or Column Chart. Move the chart to the dashboard sheet by cutting and pasting it, or right-click the chart and choose Move Chart > New sheet.
  8. Build a dashboard sheet named Dashboard. Arrange the KPI table at the top, then place the charts below or beside it. Keep one KPI per chart and label the axes clearly.
  9. Add a date filter so the report can show a chosen period. Select your table, go to Insert > Slicer, and pick the date or period column. Place the slicer on the dashboard. Slicers work with Tables and PivotTables and update connected charts.
  10. If you need a summary by category, insert a PivotTable: select the table, then Insert > PivotTable, choose New Worksheet, and drag fields into Rows and Values. Add a PivotChart from PivotTable Analyze > PivotChart.
  11. Protect the layout so accidental edits do not break formulas. Select the cells users may edit, then Review > Protect Sheet. Note that protecting a sheet is not a security feature; it only prevents casual changes.
  12. Save the workbook as .xlsx. If you share it, use File > Share or save to OneDrive so recipients see the latest version.

Common Mistakes

  • Hard-coding numbers instead of formulas, so the report goes stale as soon as data changes.
  • Mixing text and numbers in the same column, which breaks SUM and AVERAGE.
  • Using whole-column references like A:A in large workbooks, which slows recalculation.
  • Forgetting to set a target, so a KPI has no context and cannot show whether performance is good or bad.
  • Putting too many charts on one dashboard, which makes it hard to read.
  • Leaving blank rows or merged cells in the source data, which causes PivotTables and Tables to miss records.

Tips

  • Name your key ranges with Formulas > Define Name so formulas are easier to read.
  • Use IFERROR around division formulas to avoid #DIV/0! errors when the denominator is zero.
  • Keep a separate Notes sheet that records each KPI's definition and data source; this prevents disputes later.
  • Refresh PivotTables with Data > Refresh All after adding new rows.
  • Use a consistent colour scheme: one colour for on-target, one for off-target, and neutral grey for context.
  • Test the report with a small sample of data before rolling it out.

Troubleshooting

  • Formulas return #REF! or #NAME? Check that the table or range name still exists. Renaming a table breaks structured references; update the formula or undo the rename.
  • Charts do not update. Confirm the chart's source range includes the new rows. If you used a Table, the chart should expand automatically; if not, right-click the chart and choose Select Data to reset the range.
  • Slicer does not filter a chart. Slicers only control Tables and PivotTables they are connected to. Right-click the slicer and choose Report Connections to link it to additional PivotTables.
  • Numbers show as text. Select the column, then Data > Text to Columns > Finish to convert, or use VALUE() in a helper column.
  • File is slow. Reduce volatile functions, avoid whole-column references, and move raw data to a separate workbook if it is very large.
  • Protected sheet blocks editing. Go to Review > Unprotect Sheet; you will need the password if one was set.

Frequently Asked Questions

Can I make a KPI report without PivotTables?

Yes. Tables, formulas, conditional formatting, and charts are enough for most reports. PivotTables simply speed up grouping and summarising.

How often should I refresh the report?

Refresh whenever the source data changes. If the data is linked, use Data > Refresh All before sharing the file.

Can I automate the report?

You can record a macro with View > Macros > Record Macro to repeat formatting and refresh steps. Macros must be saved in a macro-enabled workbook (.xlsm).

Does this work in Excel for the web?

Most steps work, but some chart types, slicers, and protection options are limited. For full control, use the desktop app.

How do I choose which KPIs to include?

Pick a small set that directly reflects your goal, typically three to seven. Each should have a clear definition, a data source, and a target.

Can I share the report without sharing the raw data?

Yes. Copy the dashboard and KPI sheets into a new workbook and paste values instead of formulas, or hide the Data sheet. Hiding is not security; for sensitive data, remove it before sharing.