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

  • Thread starter Thread starter raystub
  • Start date Start date
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.
 
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
 
Back
Top