INDEX/MATCH Across multiple columns

Headline31

New Member
Joined
Nov 30, 2017
Messages
13
Hello,

I am having some issues with a complex INDEX/MATCH formula but am not sure if this is even possible. I am trying to pull numbers from a large array based on 3 criteria. There are 2 tables below; the left is the manual entry data tab, and the right is a more simplistic view where the Name, Label and Date can all be changed. I am looking to get the data from Jan1-Jan31 based on 3 criteria. First, as an example, I need the Name to find name1 (all the same name). Then, Label to find label2. And finally, Date to find Jan2. Is it even possible to have the criteria spread the way it is (in rows and columns)?


[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Jan1
[/TD]
[TD]Jan2
[/TD]
[TD]Jan3
[/TD]
[TD]Jan4
[/TD]
[TD]Jan5
[/TD]
[/TR]
[TR]
[TD]name1
[/TD]
[TD]label1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]name1
[/TD]
[TD]label2
[/TD]
[TD][/TD]
[TD]XXX
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]name1
[/TD]
[TD]label3
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]name1
[/TD]
[TD]label4
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 300, align: right"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Date
[/TD]
[/TR]
[TR]
[TD]Name
[/TD]
[TD]Label
[/TD]
[TD]FORMULA
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Is this what you want?


Excel 2010
ABCDEFGH
11-Jan2-Jan3-Jan4-Jan5-Jan
2name1label1
3name1label2XXX
4name1label3
5name1label4
6
7
8
9
10
112-Jan
12name1label2XXX
Sheet6
Cell Formulas
RangeFormula
D12{=INDEX(C2:G5,MATCH(B12&C12,A2:A5&B2:B5,0),MATCH(D11,C1:G1,0))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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