Lookup function with multiple criteria

willtways

New Member
Joined
Jan 18, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have a dataset shown below that is used for production scheduling. I would like to be able to look up by the bay number and the date and return the job # and the phase that the date falls in. If I reorganize the data, I can use an index match and concatenate function. However, the scheduler would prefer to be able to see the job scheduling horizontally instead of vertically and I am struggling to come up with a formula that works.




1705615791093.png
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Welcome to the board. See if this does what you want:

Book1
ABCDEFG
1Job #Bay #Phase 60Phase 65Phase 70Phase 80Phase 90
28000251/31/20242/2/20242/28/20242/28/20243/14/2024
37999242/2/20242/4/20243/2/20243/2/20243/16/2024
4799852/10/20242/12/20243/10/20243/10/20243/24/2024
5799742/7/20242/9/20243/7/20243/7/20243/21/2024
6799631/29/20241/31/20242/26/20242/26/20243/12/2024
7
8
9Lookup ValuesReturn Values
10Bay #5Job #7998
11Date2/10/2024Phase #Phase 60
Sheet3
Cell Formulas
RangeFormula
D10D10=XLOOKUP(B10,B2:B6,A2:A6)
D11D11=XLOOKUP(B11,XLOOKUP(B10,B2:B6,C2:G6),C1:G1,"")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,084
Messages
6,123,024
Members
449,092
Latest member
ikke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top