W
Walter
Is this how you set up an IF OR statement for Excel?
=IF(B2="123U" or "12B3",$J$2,IF(B2="123N",$J$4,IF(B2="123T" or "345T" or
"678T",$J$5,IF(B2="123W" or "456W" or "789W" or
"012W",$J$8,IF(B2="123A",$J$12,IF(B2="111A" or "222A" or "333A",$J$13,""))))))
I have a bunch of prefixes in column B that I want the function to search
for and if found then return a set text from column J. My statement does not
work when I fill column D with it.
=IF(B2="123U" or "12B3",$J$2,IF(B2="123N",$J$4,IF(B2="123T" or "345T" or
"678T",$J$5,IF(B2="123W" or "456W" or "789W" or
"012W",$J$8,IF(B2="123A",$J$12,IF(B2="111A" or "222A" or "333A",$J$13,""))))))
I have a bunch of prefixes in column B that I want the function to search
for and if found then return a set text from column J. My statement does not
work when I fill column D with it.