Tax-Bracket / Tiered-Rate Lookup

Excel Formulas › Lookup

Excel 365Excel 2021+Approximate match

Commission tiers, tax brackets, shipping bands, volume discounts — these all need “find the band this number falls into,” not an exact match. XLOOKUP with match_mode -1 (exact or next smaller) lands a value in the right tier with no nested IFs.


Quick formula: to find the rate for the amount in D2 against tier breakpoints in A2:A5:
=XLOOKUP(D2, A2:A5, B2:B5, , -1)
match_mode -1 means “exact match, or the next smaller breakpoint” — exactly how a bracket works.

Functions used (tap for the full reference guide):

The example

A commission table. Each row is the minimum sales to earn that rate. We look up $83,500.

ABDE
1Sales at leastRateSalesRate
2$02%$83,5006%
3$25,0004%
4$50,0006%
5$100,0008%

The formula

The rate formula in E2:

=XLOOKUP(D2, A2:A5, B2:B5, , -1) // $83,500 falls in the $50,000 tier → 6%

How it works

The fifth argument is what makes this work:

  1. D2 ($83,500) is the value we’re placing into a tier.
  2. XLOOKUP searches the breakpoints A2:A5 for an exact match. There isn’t one.
  3. Because match_mode is -1, it falls back to the next smaller breakpoint — $50,000.
  4. It returns the rate on that row from B2:B56%. The fourth argument is left blank (no if_not_found needed for a tiered table that starts at 0).

No sorting headache. Unlike VLOOKUP’s approximate mode, XLOOKUP’s match_mode -1 does not require the table to be sorted (sorting is only needed if you also switch on binary search_mode). A breakpoint table is naturally in order anyway.

Try it: interactive demo

Live demo

Drag the sales amount and watch which tier match_mode -1 lands on.

Tier:  →  Rate:

Variations

Legacy VLOOKUP version

In Excel 2019 and older, VLOOKUP’s approximate match does the same job — but the table must be sorted ascending:

=VLOOKUP(D2, A2:B5, 2, TRUE) // TRUE = approximate match

Marginal (progressive) tax, not flat rate

A true progressive tax taxes each band at its own rate. That needs a running cumulative column and SUMPRODUCT — a flat “which bracket” lookup like the one above gives the marginal rate, not the total tax.

Pitfalls & errors

Wrong tier returned. Using the default match_mode 0 (exact) returns #N/A for any in-between value. You must set match_mode -1 for bracket lookups.

VLOOKUP version silently wrong if unsorted. VLOOKUP(…, TRUE) assumes the breakpoints are sorted ascending. Out-of-order rows return the wrong rate with no error. XLOOKUP -1 has no such requirement.

Below the lowest breakpoint. If a value is smaller than your first breakpoint, XLOOKUP -1 returns #N/A. Start the table at 0 (or add an if_not_found value) to cover everything.

Practice workbook

📊
Download the free Tax-Bracket / Tiered-Rate Lookup practice workbook
The commission table with live XLOOKUP match_mode -1, the sorted VLOOKUP equivalent, and 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I look up a tax bracket or commission tier in Excel?
Use =XLOOKUP(value, breakpoints, rates, , -1). The match_mode of -1 means exact match or next smaller, which lands the value in the correct band. The breakpoints should be the minimum for each tier.
What does match_mode -1 do in XLOOKUP?
It returns an exact match if one exists, otherwise the value at the next smaller item. That is precisely the behavior needed for brackets, tiers, and bands.
Does the table need to be sorted for XLOOKUP -1?
No. Unlike VLOOKUP's approximate (TRUE) match, XLOOKUP with match_mode -1 does not require sorted data. Sorting is only required if you also enable binary search_mode (2 or -2).
How is this different from a progressive tax calculation?
This returns the marginal rate for the band a value falls in. A full progressive tax taxes each band at its own rate and sums them, which needs a cumulative column and SUMPRODUCT.

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: Two-way lookup · Lookup with multiple criteria · Get the most recent match

Function references: XLOOKUP · VLOOKUP