If any cell in a range has a value, return "True"

R

raystub

I am looking for a formula that, if any cell in a range has a value, will
return "True", and if all blank, return "False".
Thank you.
 
L

Lars-Åke Aspelin

I am looking for a formula that, if any cell in a range has a value, will
return "True", and if all blank, return "False".
Thank you.


Try this formula:

=COUNTA(myrange)>0

or, if you don't have a named range

=COUNTA(A1:D10)>0

where A1:D10 is the range in question.

Hope this helps / Lars-Åke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top