Page 1 of 1
Excel: "Cell not emply" question
Posted: Fri Jun 01, 2012 8:40 pm
by Charles L. Cotton
I need to use an if/then function dealing with an empty cell, but nothing I try works. Here is what I need to do:
If(A1 [not emply], A1,"XXX")
Any suggestions folks?
Thanks,
Chas.
Re: Excel: "Cell not emply" question
Posted: Fri Jun 01, 2012 9:11 pm
by 92f-fan
some details as to why you want to put xxx in an empty cell might help
for alternative solutions
Re: Excel: "Cell not emply" question
Posted: Fri Jun 01, 2012 10:43 pm
by ScooterSissy
=IF(((A1)<>""),A1,"XXX")
Edit (I tend to get carried away with ()'s)
This will work too:
=IF((A1<>""),A1,"xxx")
Re: Excel: "Cell not emply" question
Posted: Fri Jun 01, 2012 11:07 pm
by Charles L. Cotton
ScooterSissy wrote:=IF(((A1)<>""),A1,"XXX")
Edit (I tend to get carried away with ()'s)
This will work too:
=IF((A1<>""),A1,"xxx")
Thanks, that worked!
Chas.