K
koenigma
I tried to enter the following formular into a cell and become the
message "The formular is to long" if I delete some of the values it
works fine. I knew that there was a limit on IF statments but not for
Lookup values. Would anyone know a way around this, or if it is
possible to use VBA to do the same as the formular.
=IF(ISNUMBER(1/(LOOKUP(CJ27,FNums)))*(AND(CJ13="With")),CHOOSE(LOOKUP(CJ27,FNums),"F-N°
1 With Backing","F-N° 1, & 2 With Backing","F-N° 1, 2, & 3 With
Backing","F-N° 1, 2, 3, & 4 With Backing","F-N° 1, 2, 3, 4, & 5 With
Backing"),IF(ISNUMBER(1/(LOOKUP(CJ27,FNums)))*(OR(CJ13="With",CJ13="Without")),CHOOSE(LOOKUP(CJ27,FNums),"F-N°
1 With & Without Backing","F-N° 2 With & Without Backing F-N° 1
With","F-N° 3 With & Without Backing, F-N° 1 & 2 With","F-N°4 With
or Without Backing F-N° 1, 2 & 3 With","F-N°5 With & Without F-N° 1,
2, 3, & 4 With "All F-N° 6 Filler Metals","All F-N° 21 through F-N°
25 Filler Metals","Only F-N° "&CJ27&" Filler Metals","Only F-N°
"&CJ27&" Filler Metals","Only F-N° "&CJ27&" Filler Metals","Only F-N°
"&CJ27&" Filler Metals","Only F-N° "&CJ27&" Filler Metals","Only F-N°
"&CJ27&" Filler Metals","F-N° 34, and F-N° 41 through F-N° 45 Filler
Metals","All F-N° 51 through F-N° 55 Filler Metals","All F-N° 61
Filler Metals","Only F-N° "&CJ27&" Filler Metals","Only F-N° "&CJ27&"
Filler Metals"),CJ27))
Regards
MArtin
message "The formular is to long" if I delete some of the values it
works fine. I knew that there was a limit on IF statments but not for
Lookup values. Would anyone know a way around this, or if it is
possible to use VBA to do the same as the formular.
=IF(ISNUMBER(1/(LOOKUP(CJ27,FNums)))*(AND(CJ13="With")),CHOOSE(LOOKUP(CJ27,FNums),"F-N°
1 With Backing","F-N° 1, & 2 With Backing","F-N° 1, 2, & 3 With
Backing","F-N° 1, 2, 3, & 4 With Backing","F-N° 1, 2, 3, 4, & 5 With
Backing"),IF(ISNUMBER(1/(LOOKUP(CJ27,FNums)))*(OR(CJ13="With",CJ13="Without")),CHOOSE(LOOKUP(CJ27,FNums),"F-N°
1 With & Without Backing","F-N° 2 With & Without Backing F-N° 1
With","F-N° 3 With & Without Backing, F-N° 1 & 2 With","F-N°4 With
or Without Backing F-N° 1, 2 & 3 With","F-N°5 With & Without F-N° 1,
2, 3, & 4 With "All F-N° 6 Filler Metals","All F-N° 21 through F-N°
25 Filler Metals","Only F-N° "&CJ27&" Filler Metals","Only F-N°
"&CJ27&" Filler Metals","Only F-N° "&CJ27&" Filler Metals","Only F-N°
"&CJ27&" Filler Metals","Only F-N° "&CJ27&" Filler Metals","Only F-N°
"&CJ27&" Filler Metals","F-N° 34, and F-N° 41 through F-N° 45 Filler
Metals","All F-N° 51 through F-N° 55 Filler Metals","All F-N° 61
Filler Metals","Only F-N° "&CJ27&" Filler Metals","Only F-N° "&CJ27&"
Filler Metals"),CJ27))
Regards
MArtin