index match with 2 mathc arguments

dmheller

Board Regular
Joined
May 26, 2017
Messages
142
Office Version
  1. 365
2019Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec

<colgroup><col><col></colgroup><tbody>
</tbody>

I have this it is formatted so they are dates not text or numbers
2019 is in A2-A13 then each date in in B2-B13
Across the top, i have headers so A1= year B1= month etc
here is what i am wanting to do

=index(C2:O150,match(XXXXXXXXXXX),match(Y1,C1:O1,0)
the xxxxxxx is where i get lost. I want this to be a match of a month and year so i need multiple pulls. I have all the months and years in a drop down so we can use W1 for the year and X1 for the month. If somone can please fill in the XXXXX part, that would be great. I dont know how to do a double match.
thanks
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,214,382
Messages
6,119,194
Members
448,874
Latest member
Lancelots

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