There is no reason to have problem with this formula
=IF(J28="1/2_Inch/1.5mm",$D$58*K28,IF(J28="3/4_Inch/1.2mm",$D$59*K28,IF(J28="3/4_Inch/1.5mm",$D$60*K28,IF(J28="1_Inch/1.2mm",$D$61*K28,IF(J28="1_Inch/1.5mm",$D$62*K28,IF(J28="1x2_Inch/1.2mm",$D$63*K28,IF(J28="1x2 Inch/1.5mm",$D$64*K28,IF(J28="1.5x1.5_Inch/1.5mm",$D$65*K28,IF(J28="1.5x1.5_Inch/2mm",$D$66*K28,IF(J28="2x2_Inch/1.5mm",$D$67*K28,IF(J28="2x2_Inch/2mm",$D$68*K28,IF(J28="3x3_Inch/3mm",$D$69*K28,IF(J28="3x3_Inch/4mm",$D$70*K28,IF(J28="4x4_Inch/4mm",$D$71*K28,IF(J28="4x4_Inch/5mm",$D$72*K28,IF(J28="4x4_Inch/6mm",$D$73*K28))))))))))))))))
But one can make it better because everything is multiply by
k28
, it can be moved to the end.
=IF(J28="1/2_Inch/1.5mm",$D$58,IF(J28="3/4_Inch/1.2mm",$D$59,IF(J28="3/4_Inch/1.5mm",$D$60,IF(J28="1_Inch/1.2mm",$D$61,IF(J28="1_Inch/1.5mm",$D$62,IF(J28="1x2_Inch/1.2mm",$D$63,IF(J28="1x2 Inch/1.5mm",$D$64,IF(J28="1.5x1.5_Inch/1.5mm",$D$65,IF(J28="1.5x1.5_Inch/2mm",$D$66,IF(J28="2x2_Inch/1.5mm",$D$67,IF(J28="2x2_Inch/2mm",$D$68,IF(J28="3x3_Inch/3mm",$D$69,IF(J28="3x3_Inch/4mm",$D$70,IF(J28="4x4_Inch/4mm",$D$71,IF(J28="4x4_Inch/5mm",$D$72,IF(J28="4x4_Inch/6mm",$D$73))))))))))))))))*K28
If it is possible to build a table with 2 columns containing all the pairs of size and values, you can use
VLOOKUP
which will simplify the formula
.
Assuming
$C$58:$C$73
is available with
$C$58="1/2_Inch/1.5mm"
...
$C$73="4x4_Inch/6mm"
you need
=VLOOKUP(j28, $C$58:$D$73, 2, FALSE)* K28