Help with If statment
If your lookup values are *all* text, this should work:
=IF(C5="801","Beaumont",IF(C5="APS803","Lafayette" ,IF(C5="805","Houston",
IF(C5="806","San Antonio",IF(C5="810","Dallas","")))))
When you use quotes around numbers, that makes then Text.
--
HTH,
RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===
"pm" wrote in message
...
I've created this if statment, but it's not returning the the appropriate
values.....please help. Thanks.
=IF(C5="801","Beaumont",IF(C5="APS803"="Lafayette" ,IF(C5="805"="Houston",IF(C5="806"="San
Antonio",IF(C5="810"="Dallas","")))))
|