WorkbookLogic
FormulaFreeLookupintermediateLOOKUPIFANDROUND

Look Up a Value Between Numeric Thresholds

By WorkbookLogic

Map a numeric input to the applicable lower-bound tier by selecting the greatest sorted threshold that does not exceed it, then return aligned labels or rates.

ExcelLast reviewed Sep 11, 2026
lookup-value-between-two-numbers-v1.0.0.xlsxFree
Lookup Value Between Two Numbers, Formula Review
Use sorted lower bounds to return the tier aligned with a numeric input.
Commission tiers, sorted ascendingLOOKUP review, editable examples
Minimum sales ($)Commission rateTier labelBetween thresholds$82,000
$02.0%EntryExactly on threshold$75,000
$25,0003.0%DevelopingAbove final threshold$150,000
$50,0004.0%GrowthBelow first threshold$-1,000
$75,0005.0%Established
$100,0006.0%PremierExampleFormula syntaxResult
Rate between thresholds=LOOKUP($I$11,$A$12:$A$16,$B$12:$B$16)5.0%
Exact-threshold label=LOOKUP($I$12,$A$12:$A$16,$C$12:$C$16)Established
Above-maximum rate=LOOKUP($I$13,$A$12:$A$16,$B$12:$B$16)6.0%
Controlled below-minimum=IF($I$14<$A$12,"Below minimum",LOOKUP($I$14,$A$12:$A$16,$C$12:$C$16))Below minimum
Reliability checks
Tier minimums are strictly ascendingOK
Primary example is at or above the first minimumOK
Exact-threshold example returns the Established tierOK

Overview

Return the tier aligned with the greatest lower-bound threshold that does not exceed a numeric input. The example maps sales to one flat commission tier, returning its label, minimum, rate, and calculated commission amount.

When to use it

Use it for flat commission rates, volume discounts, risk bands, rating categories, covenant grids, or other structures where one rate or label applies to the entire input based on inclusive minimums.

When not to use it

Use a progressive bracket calculation when each slice of the input receives a different rate. Use XLOOKUP with exact-or-next-smaller matching in modern Excel when that syntax is clearer. A two-dimensional grid requires a two-way lookup rather than this one-axis tier.

Problem

An exact lookup fails when the input lies between published breakpoints. Treating thresholds as upper bounds can also select the wrong row. LOOKUP requires ascending inclusive minimums and returns the last threshold less than or equal to the input.

Inputs

Input

Location

Sample

Sales amount

Combined Example!J11

$82,000

Tier minimums

A12:A16

$0 to $100,000

Rates

B12:B16

2.0% to 6.0%

Labels

C12:C16

Entry to Premier

Source data

The synthetic tier table is:

Minimum sales

Rate

Tier

$0

2.0%

Entry

$25,000

3.0%

Developing

$50,000

4.0%

Growth

$75,000

5.0%

Established

$100,000

6.0%

Premier

Minimums must be numeric, unique, and sorted ascending. Labels and rates must remain row-aligned. Values below the first minimum need a controlled response.

Calculations

  1. Validate that the threshold vector is strictly ascending.
  2. Compare the input with the inclusive minimums.
  3. Select the greatest minimum not exceeding the input.
  4. Return the label or rate from the same row.
  5. Multiply the input by the selected rate if a flat commission amount is required.

Outputs

Sales of $82,000 map to the Established tier, whose minimum is $75,000 and rate is 5.0%. Applying that flat rate to the full amount produces a commission of $4,100.

Formula map

Return the rate

=LOOKUP($J$11,$A$12:$A$16,$B$12:$B$16)

Return the label

=LOOKUP($J$11,$A$12:$A$16,$C$12:$C$16)

The lookup and result vectors must remain aligned. These formulas return one value and do not spill. The workbook uses IF to control inputs below the first minimum.

Model checks

The workbook confirms that thresholds are ascending, the input is at or above the supported lower bound, and commission equals sales multiplied by the returned rate. Passing controls return OK.

Edge cases

  • An input exactly on a threshold uses that row because minimums are inclusive.
  • A value between thresholds uses the next lower minimum.
  • A value above the final threshold uses the final tier.
  • A value below the first threshold has no valid tier without a guard.
  • Unsorted minimums can return a plausible but incorrect result.
  • Duplicate thresholds create ambiguity and should be removed.

Common errors

  • Using upper bounds: tier meanings are reversed. Build the vector from inclusive minimums.
  • Leaving minimums unsorted: approximate lookup becomes unreliable. Keep an ordering check.
  • Applying one rate progressively: this flat-tier formula does not allocate slices. Use a progressive schedule.
  • Omitting the lower guard: below-minimum inputs return an uncontrolled result or error. Validate them explicitly.

Example

$82,000 exceeds the $75,000 minimum but not the $100,000 minimum, so LOOKUP selects $75,000 and returns Established at 5.0%. The independent commission calculation is $82,000 × 5.0% = $4,100. Exactly $75,000 selects the same tier.

Example workbook

Replace the cream sales input in Combined Example!J11 or edit the tier table in A12:C16 while preserving ascending minimums. Selected outputs and checks appear in J13:J16. Formula Review covers exact, between, above-maximum, and below-minimum inputs.

Key takeaway

Define tiers with sorted inclusive minimums; LOOKUP then returns the row aligned with the greatest threshold that does not exceed the input.