Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Gus
 
Posts: n/a
Default example if IF(ISNA()) function

Hi

Please could someone assist. I have a formular: =IF((E34="Not
Done"),NOW()-C34,"") which works but I am trying to return a "" value when
"Not done" is not displayed. I have tried using
=IF(isna((E35="Not Done"),NOW()-C35,""),"",((E35="Not Done"),NOW()-C35,""))
but this is not working.
Thks
Gus
  #2   Report Post  
Johannes
 
Posts: n/a
Default

Not sure what you're trying to do but definately you have some
bracket-problems on the second if-statement.

Maybe the one below helps:

= IF( ISNA(E35 = "Not Done"), "", IF( E35 = "Not Done", NOW() - C35, ""))

What is wrong with the first if-statement (it already returns "" if "Not
done" is not displayed)

JP


"Gus" schreef in bericht
...
Hi

Please could someone assist. I have a formular: =IF((E34="Not
Done"),NOW()-C34,"") which works but I am trying to return a "" value when
"Not done" is not displayed. I have tried using
=IF(isna((E35="Not Done"),NOW()-C35,""),"",((E35="Not

Done"),NOW()-C35,""))
but this is not working.
Thks
Gus



  #3   Report Post  
Gus
 
Posts: n/a
Default

Hi JP

Many thks for replying! I am trying to calculate the number of days between
a deadline date (column C) and todays date if "Not done" is entered into
column E, alternative if text (or blank) is in Column C, then nothing is
returned.

The problem I have with the 1st IF statement (& also the one you
reccommended) is #VALUE! is displayed in the column when I have text entered
in column c.

RD Gus


"Johannes" wrote:

Not sure what you're trying to do but definately you have some
bracket-problems on the second if-statement.

Maybe the one below helps:

= IF( ISNA(E35 = "Not Done"), "", IF( E35 = "Not Done", NOW() - C35, ""))

What is wrong with the first if-statement (it already returns "" if "Not
done" is not displayed)

JP


"Gus" schreef in bericht
...
Hi

Please could someone assist. I have a formular: =IF((E34="Not
Done"),NOW()-C34,"") which works but I am trying to return a "" value when
"Not done" is not displayed. I have tried using
=IF(isna((E35="Not Done"),NOW()-C35,""),"",((E35="Not

Done"),NOW()-C35,""))
but this is not working.
Thks
Gus




  #4   Report Post  
Johannes
 
Posts: n/a
Default

try

=IF( AND( ISNUMBER(C34), E34="Not Done"), NOW()-C34,"")

problem is that the function NOW() - C34 is #VALUE if C34 is not a number.

works better now?

JP


"Gus" schreef in bericht
...
Hi JP

Many thks for replying! I am trying to calculate the number of days

between
a deadline date (column C) and todays date if "Not done" is entered into
column E, alternative if text (or blank) is in Column C, then nothing is
returned.

The problem I have with the 1st IF statement (& also the one you
reccommended) is #VALUE! is displayed in the column when I have text

entered
in column c.

RD Gus


"Johannes" wrote:

Not sure what you're trying to do but definately you have some
bracket-problems on the second if-statement.

Maybe the one below helps:

= IF( ISNA(E35 = "Not Done"), "", IF( E35 = "Not Done", NOW() - C35,

""))

What is wrong with the first if-statement (it already returns "" if "Not
done" is not displayed)

JP


"Gus" schreef in bericht
...
Hi

Please could someone assist. I have a formular: =IF((E34="Not
Done"),NOW()-C34,"") which works but I am trying to return a "" value

when
"Not done" is not displayed. I have tried using
=IF(isna((E35="Not Done"),NOW()-C35,""),"",((E35="Not

Done"),NOW()-C35,""))
but this is not working.
Thks
Gus






  #5   Report Post  
Gus
 
Posts: n/a
Default

Many thanks, greatlly appreciated your formular has worked wonders!
Gus

"Johannes" wrote:

try

=IF( AND( ISNUMBER(C34), E34="Not Done"), NOW()-C34,"")

problem is that the function NOW() - C34 is #VALUE if C34 is not a number.

works better now?

JP


"Gus" schreef in bericht
...
Hi JP

Many thks for replying! I am trying to calculate the number of days

between
a deadline date (column C) and todays date if "Not done" is entered into
column E, alternative if text (or blank) is in Column C, then nothing is
returned.

The problem I have with the 1st IF statement (& also the one you
reccommended) is #VALUE! is displayed in the column when I have text

entered
in column c.

RD Gus


"Johannes" wrote:

Not sure what you're trying to do but definately you have some
bracket-problems on the second if-statement.

Maybe the one below helps:

= IF( ISNA(E35 = "Not Done"), "", IF( E35 = "Not Done", NOW() - C35,

""))

What is wrong with the first if-statement (it already returns "" if "Not
done" is not displayed)

JP


"Gus" schreef in bericht
...
Hi

Please could someone assist. I have a formular: =IF((E34="Not
Done"),NOW()-C34,"") which works but I am trying to return a "" value

when
"Not done" is not displayed. I have tried using
=IF(isna((E35="Not Done"),NOW()-C35,""),"",((E35="Not
Done"),NOW()-C35,""))
but this is not working.
Thks
Gus








  #6   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
shorter:
=NOW()-N(C34)
to avoid the #VALUE error

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
try

=IF( AND( ISNUMBER(C34), E34="Not Done"), NOW()-C34,"")

problem is that the function NOW() - C34 is #VALUE if C34 is not a

number.

works better now?

JP


"Gus" schreef in bericht
...
Hi JP

Many thks for replying! I am trying to calculate the number of days

between
a deadline date (column C) and todays date if "Not done" is entered

into
column E, alternative if text (or blank) is in Column C, then

nothing is
returned.

The problem I have with the 1st IF statement (& also the one you
reccommended) is #VALUE! is displayed in the column when I have

text
entered
in column c.

RD Gus


"Johannes" wrote:

Not sure what you're trying to do but definately you have some
bracket-problems on the second if-statement.

Maybe the one below helps:

= IF( ISNA(E35 = "Not Done"), "", IF( E35 = "Not Done", NOW() -

C35,
""))

What is wrong with the first if-statement (it already returns ""

if "Not
done" is not displayed)

JP


"Gus" schreef in bericht
...
Hi

Please could someone assist. I have a formular: =IF((E34="Not
Done"),NOW()-C34,"") which works but I am trying to return a ""

value
when
"Not done" is not displayed. I have tried using
=IF(isna((E35="Not Done"),NOW()-C35,""),"",((E35="Not
Done"),NOW()-C35,""))
but this is not working.
Thks
Gus






  #7   Report Post  
Gus
 
Posts: n/a
Default

Many thanks for this shorter formula, I found that it returned ####### where
the deadline date was in the future.

RD
gus

"Frank Kabel" wrote:

Hi
shorter:
=NOW()-N(C34)
to avoid the #VALUE error

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
try

=IF( AND( ISNUMBER(C34), E34="Not Done"), NOW()-C34,"")

problem is that the function NOW() - C34 is #VALUE if C34 is not a

number.

works better now?

JP


"Gus" schreef in bericht
...
Hi JP

Many thks for replying! I am trying to calculate the number of days

between
a deadline date (column C) and todays date if "Not done" is entered

into
column E, alternative if text (or blank) is in Column C, then

nothing is
returned.

The problem I have with the 1st IF statement (& also the one you
reccommended) is #VALUE! is displayed in the column when I have

text
entered
in column c.

RD Gus


"Johannes" wrote:

Not sure what you're trying to do but definately you have some
bracket-problems on the second if-statement.

Maybe the one below helps:

= IF( ISNA(E35 = "Not Done"), "", IF( E35 = "Not Done", NOW() -

C35,
""))

What is wrong with the first if-statement (it already returns ""

if "Not
done" is not displayed)

JP


"Gus" schreef in bericht
...
Hi

Please could someone assist. I have a formular: =IF((E34="Not
Done"),NOW()-C34,"") which works but I am trying to return a ""

value
when
"Not done" is not displayed. I have tried using
=IF(isna((E35="Not Done"),NOW()-C35,""),"",((E35="Not
Done"),NOW()-C35,""))
but this is not working.
Thks
Gus







  #8   Report Post  
Johannes
 
Posts: n/a
Default

Excel doesn't like negative dates... if you just use number-format you could
have the deadline in days and a negative nubmer would mean days left....


"Gus" schreef in bericht
...
Many thanks for this shorter formula, I found that it returned #######

where
the deadline date was in the future.

RD
gus

"Frank Kabel" wrote:

Hi
shorter:
=NOW()-N(C34)
to avoid the #VALUE error

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
try

=IF( AND( ISNUMBER(C34), E34="Not Done"), NOW()-C34,"")

problem is that the function NOW() - C34 is #VALUE if C34 is not a

number.

works better now?

JP


"Gus" schreef in bericht
...
Hi JP

Many thks for replying! I am trying to calculate the number of days
between
a deadline date (column C) and todays date if "Not done" is entered

into
column E, alternative if text (or blank) is in Column C, then

nothing is
returned.

The problem I have with the 1st IF statement (& also the one you
reccommended) is #VALUE! is displayed in the column when I have

text
entered
in column c.

RD Gus


"Johannes" wrote:

Not sure what you're trying to do but definately you have some
bracket-problems on the second if-statement.

Maybe the one below helps:

= IF( ISNA(E35 = "Not Done"), "", IF( E35 = "Not Done", NOW() -

C35,
""))

What is wrong with the first if-statement (it already returns ""

if "Not
done" is not displayed)

JP


"Gus" schreef in bericht
...
Hi

Please could someone assist. I have a formular: =IF((E34="Not
Done"),NOW()-C34,"") which works but I am trying to return a ""

value
when
"Not done" is not displayed. I have tried using
=IF(isna((E35="Not Done"),NOW()-C35,""),"",((E35="Not
Done"),NOW()-C35,""))
but this is not working.
Thks
Gus









  #9   Report Post  
Gus
 
Posts: n/a
Default

Thanks, that is very helpful indeed!!



"Johannes" wrote:

Excel doesn't like negative dates... if you just use number-format you could
have the deadline in days and a negative nubmer would mean days left....


"Gus" schreef in bericht
...
Many thanks for this shorter formula, I found that it returned #######

where
the deadline date was in the future.

RD
gus

"Frank Kabel" wrote:

Hi
shorter:
=NOW()-N(C34)
to avoid the #VALUE error

--
Regards
Frank Kabel
Frankfurt, Germany

"Johannes" schrieb im Newsbeitrag
...
try

=IF( AND( ISNUMBER(C34), E34="Not Done"), NOW()-C34,"")

problem is that the function NOW() - C34 is #VALUE if C34 is not a
number.

works better now?

JP


"Gus" schreef in bericht
...
Hi JP

Many thks for replying! I am trying to calculate the number of days
between
a deadline date (column C) and todays date if "Not done" is entered
into
column E, alternative if text (or blank) is in Column C, then
nothing is
returned.

The problem I have with the 1st IF statement (& also the one you
reccommended) is #VALUE! is displayed in the column when I have
text
entered
in column c.

RD Gus


"Johannes" wrote:

Not sure what you're trying to do but definately you have some
bracket-problems on the second if-statement.

Maybe the one below helps:

= IF( ISNA(E35 = "Not Done"), "", IF( E35 = "Not Done", NOW() -
C35,
""))

What is wrong with the first if-statement (it already returns ""
if "Not
done" is not displayed)

JP


"Gus" schreef in bericht
...
Hi

Please could someone assist. I have a formular: =IF((E34="Not
Done"),NOW()-C34,"") which works but I am trying to return a ""
value
when
"Not done" is not displayed. I have tried using
=IF(isna((E35="Not Done"),NOW()-C35,""),"",((E35="Not
Done"),NOW()-C35,""))
but this is not working.
Thks
Gus










Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Averaging function Sarah Excel Discussion (Misc queries) 0 January 18th 05 04:09 PM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
change function variable prompts?? thinkingfield Excel Worksheet Functions 1 November 8th 04 04:01 PM
Counting Function Dilemma Simon Lloyd Excel Worksheet Functions 0 November 8th 04 03:13 PM
need to save values from a function before it changes Ron Excel Worksheet Functions 1 October 29th 04 06:29 AM


All times are GMT +1. The time now is 08:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"