INDEX MATCH Formula help

looking2excel

New Member
Joined
Dec 30, 2017
Messages
1
I'm working to get an index match formula to find a value in one table based on criteria in another. An example of each table is below, with my desired output being in the "Price" column of Table 1.

Table 1:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]Column A[/TD]
[TD="align: center"]Column B[/TD]
[TD="align: center"]Column C[/TD]
[TD="align: center"]Column D[/TD]
[/TR]
[TR]
[TD]Row 1[/TD]
[TD="align: center"]Thickness[/TD]
[TD="align: center"]Type[/TD]
[TD="align: center"]Width[/TD]
[TD="align: center"]Price[/TD]
[/TR]
[TR]
[TD]Row 2[/TD]
[TD]Flat[/TD]
[TD]A1[/TD]
[TD]1.5[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]Row 3[/TD]
[TD]Thick[/TD]
[TD]B1[/TD]
[TD]3[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]Row 4[/TD]
[TD]Thin[/TD]
[TD]A1[/TD]
[TD]1[/TD]
[TD]?[/TD]
[/TR]
</tbody>[/TABLE]

Table 2:

[TABLE="width: 292"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]Column A[/TD]
[TD="align: center"]Column B[/TD]
[TD="align: center"]Column C[/TD]
[TD="align: center"]Column D[/TD]
[TD="align: center"]Column E[/TD]
[/TR]
[TR]
[TD]Row 1[/TD]
[TD="align: center"]Thickness[/TD]
[TD="align: center"]Min. Width[/TD]
[TD="align: center"]Max. Width[/TD]
[TD="align: center"]A1[/TD]
[TD="align: center"]B1[/TD]
[/TR]
[TR]
[TD]Row 2[/TD]
[TD]Flat[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]$2[/TD]
[TD]$6[/TD]
[/TR]
[TR]
[TD]Row 3[/TD]
[TD]Flat[/TD]
[TD]1.1[/TD]
[TD]2[/TD]
[TD]$3[/TD]
[TD]$6[/TD]
[/TR]
[TR]
[TD]Row 4[/TD]
[TD]Thick[/TD]
[TD]3[/TD]
[TD]3.5[/TD]
[TD]$4[/TD]
[TD]$7[/TD]
[/TR]
[TR]
[TD]Row 4[/TD]
[TD]Thin[/TD]
[TD]0[/TD]
[TD]0.5[/TD]
[TD]$5[/TD]
[TD]$8[/TD]
[/TR]
[TR]
[TD]Row 5[/TD]
[TD]Thin[/TD]
[TD]0.6[/TD]
[TD]0.9[/TD]
[TD]$4[/TD]
[TD]$7[/TD]
[/TR]
[TR]
[TD]Row 6[/TD]
[TD]Thin[/TD]
[TD]1[/TD]
[TD]1.2[/TD]
[TD]$5[/TD]
[TD]$8[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I need to find an exact match of columns A and B from Table 1 in Table 2 and then find which range my value in Column C from Table 1 fits in and pull the price where all of these occur.

I have been able to do a combination VLOOKUP HLOOKUP for the type and width but adding in the third criteria of thickness is causing my issue. I tried to do an index-match formula but I'm having trouble since I need it to partial perform exact matches and then only an approximate match for the width.

Does anyone have any recommendations on how an index match might be able to help with this? Or if there is another way I could accomplish this I'd appreciate any insight! Thank you!
 

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.
See if this might work.
This is an array formula and must be entered with CTRL-SHIFT-ENTER.

Excel Workbook
ABCD
1ThicknessTypeWidthPrice
2FlatA11.53
3ThickB137
4ThinA115
Table1
Excel Workbook
ABCDE
1ThicknessMin. WidthMax. WidthA1B1
2Flat01$2$6
3Flat1.12$3$6
4Thick33.5$4$7
5Thin00.5$5$8
6Thin0.60.9$4$7
7Thin11.2$5$8
Table2
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
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