Excel
#3

Two-Way Matrix Lookup with INDEX and MATCH

MediumEY
Interview Question #3
Asked at EY

You have a regional shipping rate matrix in `B2:F10`. Rows in Column A represent Weight Categories (e.g. '0-5kg', '5-10kg'), while Columns B through F represent Zones ('Zone 1' through 'Zone 5'). Given a target Weight in `H2` and a target Zone in `H3`, write a formula in `H4` to return the intersecting rate.

Input Table: ShippingMatrix (A1:F4)
3 rows preview
WeightZone 1Zone 2Zone 3Zone 4Zone 5
0-5kg1522303845
5-10kg2538526068
10-20kg45658595105
Expected Output Structure1 rows
Target Weight (H2)Target Zone (H3)Rate (H4)
5-10kgZone 238
Interview Context

Asked frequently in data analyst and business analyst technical rounds. Focus on clean filtering, optimal indexing usage, and unambiguous column selection.

Microsoft Excel 365
H4fx
← Swipe the sheet to see more columns →
ABCDEFGHIJ
1
Weight
Zone 1
Zone 2
Zone 3
Zone 4
Zone 5
2
0-5kg
15
22
30
38
45
5-10kg
3
5-10kg
25
38
52
60
68
Zone 2
4
10-20kg
45
65
85
95
105
Target [Enter Formula]
5
6
7
8
9
10
Click on target cell H4 and enter your formula above.Shortcut: Click "Load Solution" to inspect
Chat with us