Lookup match with multiple criteria

KGee

Well-known Member
Joined
Nov 26, 2008
Messages
539
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I need to search for the day and month from one sheet (Sheet1) and return the matching value from the sheet below (Sheet2). The values I'm searching for start in row 4 of Sheet1 with the day listed in column B and the month listed in column Q. As an example from Sheet1, the day in B4 is Monday and the month in Q4 is November so I want to return the value highlighted in red from Sheet2 which is 4. The letters in the first row below are the columns from Sheet2 and the headers start in row 18 if needed. I can't sort out the index/match. Any guidance would be appreciated.



BCDEFGHIJKLM
MONTHDATA1DATA2DATA3DAYSSUNDAYMONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAY
OCTOBER31 5 5 5 4 4 4 4
NOVEMBER30 4 4 4 5 5 4 4
DECEMBER31 5 4 4 4 4 5 5
JANUARY31 4 5 5 5 4 4 4
FEBRUARY29 4 4 4 4 5 4 4
MARCH31 5 4 4 4 4 5 5
APRIL30 4 5 5 4 4 4 4
MAY31 4 4 4 5 5 5 4
JUNE30 5 4 4 4 4 4 5
JULY31 4 5 5 5 4 4 4
AUGUST31 4 4 4 4 5 5 5
SEPTEMBER30 5 5 4 4 4 4 4
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
How about:

varios 17oct2024.xlsm
BQR
3DAYMonthResult
4MondayNovember4
Sheet1
Cell Formulas
RangeFormula
R4R4=VLOOKUP(Q4,Sheet2!$B$19:$M$30,MATCH(B4,Sheet2!$B$18:$M$18,0),0)
 
Upvote 0
How about:

varios 17oct2024.xlsm
BQR
3DAYMonthResult
4MondayNovember4
Sheet1
Cell Formulas
RangeFormula
R4R4=VLOOKUP(Q4,Sheet2!$B$19:$M$30,MATCH(B4,Sheet2!$B$18:$M$18,0),0)
Thank you so much!!! Exactly what I needed.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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