#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default #N/A part deux

I used the suggested function =IF(ISNA(C81),"0",C81) which worked fine.
However, the following formulas resulted in an answer of "0" which was
incorrect. The last formula did not recognize that a value was greater than
zero.

value in B12 is 99.506
value in C12 is #N/A
value in D12 is #N/A

F12 is =IF(ISNA(B12),"0",B12) this returned 99.506
G12 is =IF(ISNA(C12),"0",C12) this returned 0
H12 is =IF(ISNA(D12),"0",D12) this returned 0
I12 is =IF(F12G12,F12,G12) this returned 0 when it should be 99.506

Where did I get off track?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default #N/A part deux

The problem is caused by using text zero in your formula, "0". Chang it to a
numeric zero 0 and all will be well.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"sixthhole" wrote in message
...
I used the suggested function =IF(ISNA(C81),"0",C81) which worked fine.
However, the following formulas resulted in an answer of "0" which was
incorrect. The last formula did not recognize that a value was greater
than
zero.

value in B12 is 99.506
value in C12 is #N/A
value in D12 is #N/A

F12 is =IF(ISNA(B12),"0",B12) this returned 99.506
G12 is =IF(ISNA(C12),"0",C12) this returned 0
H12 is =IF(ISNA(D12),"0",D12) this returned 0
I12 is =IF(F12G12,F12,G12) this returned 0 when it should be 99.506

Where did I get off track?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 772
Default #N/A part deux

take the "" off of the zeroes, it is comparing text if you do that.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"sixthhole" wrote:

I used the suggested function =IF(ISNA(C81),"0",C81) which worked fine.
However, the following formulas resulted in an answer of "0" which was
incorrect. The last formula did not recognize that a value was greater than
zero.

value in B12 is 99.506
value in C12 is #N/A
value in D12 is #N/A

F12 is =IF(ISNA(B12),"0",B12) this returned 99.506
G12 is =IF(ISNA(C12),"0",C12) this returned 0
H12 is =IF(ISNA(D12),"0",D12) this returned 0
I12 is =IF(F12G12,F12,G12) this returned 0 when it should be 99.506

Where did I get off track?

  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default #N/A part deux

Take the double quotes off your zeros

Vaya con Dios,
Chuck, CABGx3



"sixthhole" wrote:

I used the suggested function =IF(ISNA(C81),"0",C81) which worked fine.
However, the following formulas resulted in an answer of "0" which was
incorrect. The last formula did not recognize that a value was greater than
zero.

value in B12 is 99.506
value in C12 is #N/A
value in D12 is #N/A

F12 is =IF(ISNA(B12),"0",B12) this returned 99.506
G12 is =IF(ISNA(C12),"0",C12) this returned 0
H12 is =IF(ISNA(D12),"0",D12) this returned 0
I12 is =IF(F12G12,F12,G12) this returned 0 when it should be 99.506

Where did I get off track?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default #N/A part deux

A huge thanks to the 3 respondents!!!!

"CLR" wrote:

Take the double quotes off your zeros

Vaya con Dios,
Chuck, CABGx3



"sixthhole" wrote:

I used the suggested function =IF(ISNA(C81),"0",C81) which worked fine.
However, the following formulas resulted in an answer of "0" which was
incorrect. The last formula did not recognize that a value was greater than
zero.

value in B12 is 99.506
value in C12 is #N/A
value in D12 is #N/A

F12 is =IF(ISNA(B12),"0",B12) this returned 99.506
G12 is =IF(ISNA(C12),"0",C12) this returned 0
H12 is =IF(ISNA(D12),"0",D12) this returned 0
I12 is =IF(F12G12,F12,G12) this returned 0 when it should be 99.506

Where did I get off track?

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
How do I get rid of #DIV/0! part 2 [email protected] Excel Worksheet Functions 3 November 4th 07 05:54 PM
Conditional Rounding Part deux yk Excel Worksheet Functions 1 July 9th 07 02:54 PM
Replace Old Part Numbers with New Part Numbers in a Macro. Jeffery Keown Excel Discussion (Misc queries) 5 October 17th 06 03:45 PM
Cannot chg. part of an array Ikaabod Excel Worksheet Functions 4 May 25th 06 01:59 PM
Copying Part of a row down part of a column Not Excelling Excel Discussion (Misc queries) 3 January 6th 06 11:58 PM


All times are GMT +1. The time now is 06:37 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"