ExcelFlux

LOOKUP function

Looks up values in a vector or array.

Lookup and reference

Where can you use it?

Reporting and operations teams. Use functions in this group to retrieve a field from an item, employee or order list, select the right record, or move values into another report.

Scenario in the workbook

Classify transactions using ascending lower thresholds. Keep the lookup column sorted.

A worked example from the workbook

RowABC
6InputComparisonGroup
730Low
81210Mid
92920High
Record 1
=LOOKUP(A7,$B$7:$B$9,$C$7:$C$9)

Expected resultLow

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=LOOKUP(A7,$B$7:$B$9,$C$7:$C$9)
Turkish Excel · tr-TR
=ARA(A7;$B$7:$B$9;$C$7:$C$9)

Worked examples

Classify transactions using ascending lower thresholds. Keep the lookup column sorted.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A B C
6 Input Comparison Group
7 3 0 Low
8 12 10 Mid
9 29 20 High
Case Formula Expected result
Record 1 =LOOKUP(A7,$B$7:$B$9,$C$7:$C$9) Low
Record 2 =LOOKUP(A8,$B$7:$B$9,$C$7:$C$9) Mid
Record 3 =LOOKUP(A9,$B$7:$B$9,$C$7:$C$9) High
Microsoft Excel reference