Testing cell value for greater than 0

R

Raj

Hi,

The value in a cell is derived from a formula and can be one of the
following:
NA error
Number
Null

I need TRUE to be returned when the cell value is greater than 0. This
test fails as an error is returned when the cell value is an error How
do I fix this?

Thanks in advance for all the help.

Regards,
Raj
 
J

Joe User

Raj said:
I need TRUE to be returned when the cell value
is greater than 0. This test fails as an error
is returned when the cell value is an error How
do I fix this?

=IF(ISNUMBER(A1), A1>0, FALSE)

Note: Technically, you don't need the ",FALSE" part. But I consider it
poor form without it, and it's a bad habit that will bite you in other
circumstances.


----- original message -----
 

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