Index Match Function

chaz0789

New Member
Joined
Jun 16, 2016
Messages
20
Hi all,
I need some help with a multiple criteria index match function. I need it to look for two criteria, and then give me my output. Below is what i'm working with.


The X's are what i need to fill in

1 JACKSON-HOUSTON

<tbody>
</tbody>


DateMy Price
DAT PriceMy Ship Count
FY17 (01) - NOV X X X
FY17 (02) - DEC X X X
FY17 (03) - JANX X X

<tbody>
</tbody>


My data looks like below
Look UpYear MonthMy Price
DAT PriceMy Ship Count
1 JACKSON-HOUSTONFY17 (01) - NOV$1.92$2.2566
1 JACKSON-HOUSTONFY17 (02) - DEC$1.96$2.2256

<tbody>
</tbody>



How would i link the two together? It needs to look at the 1 JACKSON-HOUSTON and then Year-Month column to input my price.
 
Last edited:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
The X's are what i need to fill in
1 JACKSON-HOUSTON
DateMy PriceDAT PriceMy Ship Count
FY17 (01) - NOVXXX
FY17 (02) - DECXXX
FY17 (03) - JANXXX
My data looks like below
Look UpYear MonthMy PriceDAT PriceMy Ship Count
1 JACKSON-HOUSTONFY17 (01) - NOV$1.92$2.2566
1 JACKSON-HOUSTONFY17 (02) - DEC$1.96$2.2256
name1FY17 (02) - DEC$1.100$2.1946
name2FY17 (02) - DEC$1.104$2.1636
1 JABBERFY17 (02) - DEC$1.108$2.1326
I assume the lower table has many more names in the first column
so sort by first column ascending then year month ascending
Look UpYear MonthMy PriceDAT PriceMy Ship Count
1 JABBERFY17 (02) - DEC$1.108$2.1326
1 JACKSON-HOUSTONFY17 (01) - NOV$1.92$2.2566
1 JACKSON-HOUSTONFY17 (02) - DEC$1.96$2.2256
name1FY17 (02) - DEC$1.100$2.1946
name2FY17 (02) - DEC$1.104$2.1636
1 JACKSON-HOUSTONFY17 (01) - NOV$1.92$2.2566
1 JACKSON-HOUSTONFY17 (02) - DEC$1.96$2.2256
by printing out blanks if first column is not a match with A3 you are there

<colgroup><col><col><col><col><col><col span="4"></colgroup><tbody>
</tbody>
 
Upvote 0
The X's are what i need to fill in
1 JACKSON-HOUSTON
DateMy PriceDAT PriceMy Ship Count
FY17 (01) - NOVXXX
FY17 (02) - DECXXX
FY17 (03) - JANXXX
My data looks like below
Look UpYear MonthMy PriceDAT PriceMy Ship Count
1 JACKSON-HOUSTONFY17 (01) - NOV$1.92$2.2566
1 JACKSON-HOUSTONFY17 (02) - DEC$1.96$2.2256
name1FY17 (02) - DEC$1.100$2.1946
name2FY17 (02) - DEC$1.104$2.1636
1 JABBERFY17 (02) - DEC$1.108$2.1326
I assume the lower table has many more names in the first column
so sort by first column ascending then year month ascending
Look UpYear MonthMy PriceDAT PriceMy Ship Count
1 JABBERFY17 (02) - DEC$1.108$2.1326
1 JACKSON-HOUSTONFY17 (01) - NOV$1.92$2.2566
1 JACKSON-HOUSTONFY17 (02) - DEC$1.96$2.2256
name1FY17 (02) - DEC$1.100$2.1946
name2FY17 (02) - DEC$1.104$2.1636
1 JACKSON-HOUSTONFY17 (01) - NOV$1.92$2.2566
1 JACKSON-HOUSTONFY17 (02) - DEC$1.96$2.2256
by printing out blanks if first column is not a match with A3 you are there

<tbody>
</tbody>
Thank you for the reply. However, i'm not understanding. Why would i need to sort it? There are many more names, but i just need the formula to go if jackson-houston and FY17 (01) - NOV then 1.92 is the value for my price. The jackson is a list with multiple names to select from. i'm trying to populate the data for a chart that will update when i select a new name.
 
Last edited:
Upvote 0
I figured it out, thanks for the help everyone. Below is the formula I used just for reference.

=INDEX(Data!C:C,MATCH(Chart!$A$1,IF(Data!$B:$B=Chart!$A5,Data!$A:$A),0))

Control+Shift+Enter to make it an array
 
Upvote 0

Forum statistics

Threads
1,215,777
Messages
6,126,834
Members
449,343
Latest member
DEWS2031

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