# Fix a formula?

#### coccio

##### Board Regular
Excel Workbook
ABCDEFGHIJKL
1ftinGstandardstandard+decline*ftinweightGclass
2411f88116175*51150mstandard
350f90156180******
451f93161187******
552f97168193******
653f100173199******
754f102179206******
855f106184212******
956f110190219******
1057f113196225******
1158f116201232******
1259f119207239******
13510f123213246******
14511f127220253******
1560f130225260******
Sheet

</body></html>

The one problem with this formula is that the K2 input is not working. For instance if I input m or any value like in this case it states standard. That shouldn’t be…anyone know how to fix that? so that all four match H2, I2, J2, K2 to get the correct output in class L2

### Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try...

=INDEX(D1:F1,MATCH(J2,INDEX(D2:F15,MATCH(1,IF(A2:A15=H2,IF(B2:B15=I2,IF(C2:C15=K2,1))),0),0)))

...confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

xl-central.com

That did the trick thanks

Try...

=INDEX(D1:F1,MATCH(J2,INDEX(D2:F15,MATCH(1,IF(A2:A15=H2,IF(B2:B15=I2,IF(C2:C15=K2,1))),0),0)))

...confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

xl-central.com

Replies
0
Views
139
Replies
16
Views
316
Replies
6
Views
147
Replies
5
Views
210
Replies
2
Views
695

1,203,323
Messages
6,054,728
Members
444,747
Latest member
Jaborsum

### 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.

### Which adblocker are you using?

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

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