Build a KPI Card with Delta

Excel Formulas › Charts

All versionsDashboard

A KPI card shows one big number plus how it changed — “$84,200, up 12% vs last month.” Build it from a couple of formulas and a colored arrow, the building block of any dashboard.


Quick formula: for current B1 and prior B2:
=TEXT(B1,"$#,##0")&" "&IF(B1>=B2,"▲","▼")&TEXT((B1-B2)/B2,"0%")
Shows the value, an up/down arrow, and the percent change in one string — the heart of a KPI card.

Functions used (tap for the full reference guide):

The example

This month vs last, as a single KPI string.

AB
1MetricValue
2This month$84,200
3Last month$75,000
4KPI$84,200 ▲12%

The formula

Compose the card text:

=TEXT(B1,"$#,##0")&" "&IF(B1>=B2,"▲","▼")&TEXT((B1-B2)/B2,"0%") // $84,200 ▲12%

How it works

A KPI card is text plus a conditional arrow:

  1. Show the headline number with TEXT(value, "$#,##0") for clean formatting.
  2. Compute the delta versus the prior period: (current − prior) / prior.
  3. Pick an arrow with IF: IF(current>=prior, "▲", "▼"), then append the percent.
  4. Make the cell big and bold; use conditional formatting to color it green when up, red when down.

Color the whole card: a CF rule =B1<B2 turns the cell red font, and the up-case stays green — so the card reads at a glance. Put several cards in a row for a clean dashboard header.

Try it: interactive demo

Live demo

Set this period and last.

Variations

Dollar change

Absolute, not percent:

=TEXT(B1-B2,"+$#,##0;-$#,##0")

vs target

Compare to a goal:

=TEXT(B1/target,"0%")&" of goal"

Color rule

CF: red when down:

=B1 < B2

Pitfalls & errors

Guard divide-by-zero. A zero prior period makes the percent error — wrap with IFERROR.

Arrows are just characters. ▲/▼ are Unicode glyphs; they print fine but font support varies. Test in your environment.

TEXT returns text. The card string can’t be charted or summed — keep the underlying number in its own cell.

Practice workbook

📊
Download the free Build a KPI Card with Delta practice workbook
A KPI card with arrow + delta, the dollar-change, vs-target, and color-rule variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I build a KPI card in Excel?
Combine the value and delta: =TEXT(value,"$#,##0")&IF(value>=prior,"▲","▼")&TEXT((value-prior)/prior,"0%"). Make it big and bold, and color it with conditional formatting.
How do I color a KPI green when up and red when down?
Add a CF rule =current
Why can't I chart my KPI card?
TEXT returns a string. Keep the underlying number in a separate cell if you need to chart or sum it.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Percent change & % of total · Dynamic chart title · Percent of goal gauge

Function references: TEXT · IF