Mayur Prabhu
New Member
- Joined
- Jun 26, 2024
- Messages
- 2
- Office Version
- 2016
- Platform
- Windows
=IFERROR(INDEX($C$9:$C$11,MATCH(1,($A$9:$A$11=$A2)*($B$9:$B$11=B$1),0)),"")
20240627 2D Lookup Mayur Prabhu.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | 12 | 23 | 34 | 45 | 56 | |||
2 | Job 1 | Tom - 0 | ||||||
3 | Job 2 | Sam - 1 | ||||||
4 | Job 3 | Ron - 1 | ||||||
5 | Job 4 | |||||||
6 | Job 5 | |||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:F6 | B2 | =IFERROR(LOOKUP(2,1/((Sheet2!$A$1:$A$3=$A2)*(Sheet2!$B$1:$B$3=B$1)),Sheet2!$C$1:$C$3),"") |
20240627 2D Lookup Mayur Prabhu.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Job 1 | 12 | Tom - 0 | ||
2 | Job 2 | 34 | Sam - 1 | ||
3 | Job 3 | 56 | Ron - 1 | ||
Sheet2 |
Thank You so much.....This was very helpful.....It worked...Finally i can sleep peacefully..Welcome to the Forum.
If you are using Excel 2016, I suspect the above will require you to enter it as an array formula.
Here is a non-array option.
20240627 2D Lookup Mayur Prabhu.xlsx
A B C D E F 1 12 23 34 45 56 2 Job 1 Tom - 0 3 Job 2 Sam - 1 4 Job 3 Ron - 1 5 Job 4 6 Job 5 Sheet1
Cell Formulas Range Formula B2:F6 B2 =IFERROR(LOOKUP(2,1/((Sheet2!$A$1:$A$3=$A2)*(Sheet2!$B$1:$B$3=B$1)),Sheet2!$C$1:$C$3),"")
Sheet2 data used:
20240627 2D Lookup Mayur Prabhu.xlsx
A B C 1 Job 1 12 Tom - 0 2 Job 2 34 Sam - 1 3 Job 3 56 Ron - 1 Sheet2