To create a KPI in Excel 2019, you build a small summary table with a target and an actual value, then apply Conditional Formatting > Icon Sets to show status at a glance. Excel 2019 has no built-in KPI object like some dashboard tools, so the practical method is a combination of a calculated status cell, icon sets, and a chart if you want a visual trend. This guide walks through that method using only features that exist in Excel 2019 on Windows and Mac. Menu labels can differ slightly by version, region, or whether you are on Windows or Mac, so if a label does not match exactly, look for the closest equivalent.

What You'll Need

  • Excel 2019 installed on Windows or Mac (the steps below work in both; where they differ, the difference is noted).
  • A worksheet with your data: at least one column of dates or periods and one column of actual values.
  • A target value for each KPI (a number you can type into a cell).
  • Basic familiarity with cell references and simple formulas such as SUM or AVERAGE.

Step-by-Step

  1. Set up a KPI summary table. On a new sheet, create headers in row 1: KPI, Actual, Target, Status. In the rows below, enter the name of each KPI (for example, "Monthly Sales"), its current actual value, and its target value. Keep actual and target in separate numeric cells so formulas can compare them.
  2. Calculate the status. In the Status column, enter a formula that compares actual to target. For a KPI where higher is better, use =IF(B2>=C2,"On Track","Below Target"). For a KPI where lower is better (such as cost per unit), reverse the comparison: =IF(B2<=C2,"On Track","Below Target"). Press Enter and fill the formula down.
  3. Add a variance column (optional but useful). Insert a column called Variance and use =B2-C2 to show the gap between actual and target. Format it as a number with the desired decimal places. This gives you a numeric measure alongside the text status.
  4. Apply an icon set to the variance or status. Select the Variance cells (or a numeric status column). Go to Home > Conditional Formatting > Icon Sets and choose a set such as the three traffic lights or the three arrows. Then open Conditional Formatting > Manage Rules, edit the icon set rule, and set the thresholds so the green icon appears at or above your target, yellow near target, and red below. For a higher-is-better KPI, set the green threshold to 0 (meaning actual equals or exceeds target in the variance column) and the yellow threshold to a small negative number.
  5. Add data bars for a visual gauge. Select the Actual column and apply Conditional Formatting > Data Bars. This gives an in-cell bar that grows with the value, which reads faster than raw numbers on a summary sheet.
  6. Build a trend chart. Select your period column and actual column (for example, dates in column A and values in column B on your data sheet). Go to Insert > Line Chart (or Column Chart) and choose a basic 2-D chart. Right-click the chart and choose Select Data to add the target as a second series if you want a target line. Format the target series as a dashed line so it is visually distinct.
  7. Add a target line to the chart. If you added the target as a series, right-click that series, choose Format Data Series, and set the line style to dashed. If the target is a single value, you can instead add a constant series by typing the target value into a helper column next to your data and adding that column as a series.
  8. Assemble the dashboard. Move the summary table and chart onto one sheet. Use View > Gridlines to hide gridlines for a cleaner look. Resize the chart and table so they fit on one screen. Save the workbook.
  9. Refresh the KPI when data changes. Because the status and variance cells are formulas, they update automatically when you change the Actual or Target values. If your actual values come from another sheet, make sure the references point to the correct cells. Press F9 to force a recalculation if a value looks stale.

Common Mistakes

  • Mixing text and numbers. If the Actual or Target cell contains text (even a number stored as text), the IF formula returns an error or the wrong status. Check that both cells are formatted as Number or General, not Text.
  • Wrong direction of comparison. Using >= for a KPI where lower is better (such as error rate) will show green when performance is actually poor. Decide the direction before writing the formula.
  • Icon set thresholds left at default. Excel's default icon set thresholds are percentiles of the selected range, not your target. Always open Manage Rules and set explicit values.
  • Hard-coding the target inside the formula. Putting the target number directly in the IF formula makes it hard to change later. Keep the target in its own cell and reference it.
  • Forgetting to fill the formula down. A status formula in only the first row leaves the rest blank. Drag the fill handle or copy the formula to all KPI rows.

Tips

  • Use a consistent color scheme: green for on track, amber for at risk, red for off track. Apply the same colors to the icon set and any chart markers.
  • Keep the summary table to five to seven KPIs. More than that becomes hard to read at a glance.
  • Name the target cells (select the cell, type a name in the Name Box, press Enter) so formulas read like =IF(B2>=SalesTarget,...).
  • Use Freeze Panes on the summary sheet so headers stay visible when you scroll.
  • If you share the workbook, protect the sheet (Review > Protect Sheet) to prevent accidental edits to formulas.

Troubleshooting

  • The status formula shows #VALUE!. One of the referenced cells contains text. Clear the cell and retype the number, or use VALUE() to convert it.
  • Icons do not change color when values change. The conditional formatting rule may be using percentiles instead of fixed numbers. Open Manage Rules and set the type to Number.
  • The chart does not show the target line. The target series may be on a different axis or hidden. Right-click the chart, choose Select Data, and confirm the target series is listed and its values are correct.
  • Formulas do not update after I paste new data. Check that Calculation is set to Automatic (Formulas > Calculation Options > Automatic). If it is set to Manual, press F9.
  • The icon set applies to the wrong range. Select the exact cells you want, then reapply the rule. Delete old rules first via Conditional Formatting > Clear Rules.

Frequently Asked Questions

Can Excel 2019 create a KPI automatically?

No. Excel 2019 does not have a dedicated KPI object. You build KPIs manually using formulas, conditional formatting, and charts as described above.

What is the difference between a KPI and a metric?

A metric is any measured value. A KPI is a metric tied to a specific target that tells you whether performance is on track.

Can I use conditional formatting to show a red/yellow/green status?

Yes. Use Conditional Formatting > Icon Sets, then edit the rule thresholds to match your target values.

Do these steps work on Excel for Mac?

Yes, the menus are similar. On Mac, Conditional Formatting and Insert Chart are in the same ribbon tabs, though some dialog layouts differ slightly.

How do I update the KPI when new data arrives?

Change the Actual value in the summary table, or point the Actual cell to a formula that sums or averages your data range. The status and icons update automatically.

Can I print the KPI dashboard?

Yes. Set the print area to the summary table and chart, then use Page Layout > Print Titles if you want headers repeated. Check the print preview before printing.