Index Match Assistance

harrybillyard9

New Member
Joined
Jul 6, 2023
Messages
9
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi,

In the table, I have various figures the headers in C2:F2 are simply 2/2.1/2.2/2.3 i have tried to index match with not much success thus far.

I am just looking for an index match in cell c60 that matches both the configuration in cell c57 and the value in b60 in the table above. As seen currently i keep getting the #N/A

=INDEX(B2:G55, MATCH(C58, B2:B55, 0), MATCH(B60, INDEX(B2:G55, MATCH(C58, B2:B55, 0), 0), 0)) Is the formula that i have been trying to use in the cell

Would appreciate any assistance on this as i have completely hit a wall
 

Attachments

  • Form Error.PNG
    Form Error.PNG
    185.6 KB · Views: 16

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
You will want the formula to be of the form INDEX(full range, row index, column index)...and without setting up a sample worksheet to confirm this works, try:
Excel Formula:
=INDEX($C$6:$F$35, MATCH($B60, $B$6:$B$35, 0), MATCH(C$58, $C$2:$F$2, 0) )
There are other approaches using the FILTER function if you'd prefer.
This also assumes a match will always be found, otherwise an error will be displayed.
 
Upvote 0
Hi, Than
You will want the formula to be of the form INDEX(full range, row index, column index)...and without setting up a sample worksheet to confirm this works, try:
Excel Formula:
=INDEX($C$6:$F$35, MATCH($B60, $B$6:$B$35, 0), MATCH(C$58, $C$2:$F$2, 0) )
There are other approaches using the FILTER function if you'd prefer.
This also assumes a match will always be found, otherwise an error will be displayed.
Thanks For the reply i still get an #N/A when inserting this in? I like the filter function but i need to to be empty if there is not a match
 
Upvote 0
Are the items to match exactly the same? Extra spaces and hidden characters can cause problems. Try simplifying the B column text...for example, overwrite an upper data table entry with "abc" (without quotes) and enter the same thing in B60. Also confirm that your column headings 2, 2.1, 2.2, and 2.3 have no spaces and at least one is an identical match to the value in C58.
MrExcel_20240716.xlsx
ABCDEF
1
222.12.22.3
3
4
5
6abc481216
7xyz18192021
8def66778899
56
57
582.32.122.2
59
60abc168412
61def99776688
62xyz21191820
63abc168412
64
Sheet1
Cell Formulas
RangeFormula
C60:F63C60=INDEX($C$6:$F$35, MATCH($B60, $B$6:$B$35, 0), MATCH(C$58, $C$2:$F$2, 0) )
 
Upvote 0
Are the items to match exactly the same? Extra spaces and hidden characters can cause problems. Try simplifying the B column text...for example, overwrite an upper data table entry with "abc" (without quotes) and enter the same thing in B60. Also confirm that your column headings 2, 2.1, 2.2, and 2.3 have no spaces and at least one is an identical match to the value in C58.
MrExcel_20240716.xlsx
ABCDEF
1
222.12.22.3
3
4
5
6abc481216
7xyz18192021
8def66778899
56
57
582.32.122.2
59
60abc168412
61def99776688
62xyz21191820
63abc168412
64
Sheet1
Cell Formulas
RangeFormula
C60:F63C60=INDEX($C$6:$F$35, MATCH($B60, $B$6:$B$35, 0), MATCH(C$58, $C$2:$F$2, 0) )
It appears that helped that but then has affected my transpose filter formula =TRANSPOSE(FILTER(Configs!A:A, Configs!B:B = C58))
 

Attachments

  • Flt ERR.PNG
    Flt ERR.PNG
    153.6 KB · Views: 8
Upvote 0
I don't think the C60 formula is affecting your TRANSPOSE formula. Rather, there is a mismatch of some sort. Does Configs!B:B contain text or numbers? Is C58 an exact match to at least one item in Configs!B:B?
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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