ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   using "if" but omitting the #n/a's (https://www.excelbanter.com/excel-discussion-misc-queries/215203-using-if-but-omitting-n.html)

taurus99

using "if" but omitting the #n/a's
 
I am using a simple formula

=IF(AQ3<=10,TRUE,FALSE)

except I want to add....

if #n/a then put TRUE

how do I add that to my formula?

Thanks in advance!!!

Dave Peterson

using "if" but omitting the #n/a's
 
=if(isna(aq3),true,if(aq3<10,true,false))
or
=if(isna(aq3),true,aq3<10)


taurus99 wrote:

I am using a simple formula

=IF(AQ3<=10,TRUE,FALSE)

except I want to add....

if #n/a then put TRUE

how do I add that to my formula?

Thanks in advance!!!


--

Dave Peterson

mikebres

using "if" but omitting the #n/a's
 
Check out the IS Functions in the help file. ISNA will work for your
situation, but ISERROR will be a more general solution.

Mike

"taurus99" wrote:

I am using a simple formula

=IF(AQ3<=10,TRUE,FALSE)

except I want to add....

if #n/a then put TRUE

how do I add that to my formula?

Thanks in advance!!!


Gord Dibben

using "if" but omitting the #n/a's
 
ISERROR masks all errors which could lead to problems.

ISNA would be my choice.


Gord Dibben MS Excel MVP

On Fri, 2 Jan 2009 16:37:01 -0800, mikebres
wrote:

Check out the IS Functions in the help file. ISNA will work for your
situation, but ISERROR will be a more general solution.

Mike

"taurus99" wrote:

I am using a simple formula

=IF(AQ3<=10,TRUE,FALSE)

except I want to add....

if #n/a then put TRUE

how do I add that to my formula?

Thanks in advance!!!



DDD

using "if" but omitting the #n/a's
 
In you formula replace the word False with an if error formula, if its true
then put true if it is false then put ""

Not sure if it would work though

"taurus99" wrote:

I am using a simple formula

=IF(AQ3<=10,TRUE,FALSE)

except I want to add....

if #n/a then put TRUE

how do I add that to my formula?

Thanks in advance!!!


David Biddulph[_2_]

using "if" but omitting the #n/a's
 
If you're not sure whether it would work, why not try it, DDD? [Microsoft
don't charge you extra to try a formula!]

The answer is that if AQ3 is NA() you'll get an NA() result from the first
formula, so you'd need to do the tests the other way round, testing for NA()
first before the AQ3<=10 test.
--
David Biddulph

DDD wrote:
In you formula replace the word False with an if error formula, if
its true then put true if it is false then put ""

Not sure if it would work though

"taurus99" wrote:

I am using a simple formula

=IF(AQ3<=10,TRUE,FALSE)

except I want to add....

if #n/a then put TRUE

how do I add that to my formula?

Thanks in advance!!!





All times are GMT +1. The time now is 02:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com