A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#N/A



 
 
Thread Tools Display Modes
  #1  
Old March 18th, 2004, 05:34 PM
Alicia
external usenet poster
 
Posts: n/a
Default #N/A

Is there a way to convert the answer #N/A to a zero in the
worksheet before you print it?
  #2  
Old March 18th, 2004, 05:39 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default #N/A

Select the range, press F5, select special,
select formulas and uncheck everything except errors, click OK
type 0 (while still selected) and press Ctrl + Enter

Note that this will remove all formulas returning this error and
replace them by zeros

--

Regards,

Peo Sjoblom


"Alicia" wrote in message
...
Is there a way to convert the answer #N/A to a zero in the
worksheet before you print it?



  #3  
Old March 18th, 2004, 05:39 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default #N/A

Hi
one way: use conditional format to HIDE this value:
- select the cell
- goto 'format - Conditional Format'
- enter the formula
=A1=NA()
if A1 is the cell you selected
.. choose a white font color as format

Another way:
change your formula as follows:
=IF(ISNA(your_formula),0,your_formula)

--
Regards
Frank Kabel
Frankfurt, Germany

"Alicia" schrieb im Newsbeitrag
...
Is there a way to convert the answer #N/A to a zero in the
worksheet before you print it?


  #4  
Old March 18th, 2004, 05:39 PM
Dave R.
external usenet poster
 
Posts: n/a
Default #N/A

you can add this around/within your current formula;

IF(ISNA(your formula),0,your formula)


"Alicia" wrote in message
...
Is there a way to convert the answer #N/A to a zero in the
worksheet before you print it?



  #5  
Old March 18th, 2004, 05:39 PM
Kevin Stecyk
external usenet poster
 
Posts: n/a
Default #N/A

Alicia wrote,

Is there a way to convert the answer #N/A to a zero in the
worksheet before you print it?


Alicia,

Yes,

=IF(ISNA(YourPriorFormula), 0, YourPriorFormula)

This tests if #N/A shows up, and if so, then 0, otherwise evaluate.

Best regards,
Kevin


  #6  
Old March 22nd, 2004, 10:33 PM
Aladin Akyurek
external usenet poster
 
Posts: n/a
Default #n/a

Y2:

=HLOOKUP(...)

X2:

=IF(ISNA(Y2),0,X2)

Otherwise, if you'd want to keep #N/A's, you can use SumIf instead of Sum...

=SUMIF(Range,"#N/A")

"ftarrow" wrote in message
...
I am using hlookup and in some cases this is returning #n/a.
Is there a way of returning zero or blank so that it does not mess up an

add?


  #7  
Old March 22nd, 2004, 10:42 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default #n/a

Hi
use
=IF(ISNA(HLOOKUP(...)),0,HLOOKUP(...))

--
Regards
Frank Kabel
Frankfurt, Germany


ftarrow wrote:
I am using hlookup and in some cases this is returning #n/a.
Is there a way of returning zero or blank so that it does not mess up
an add?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:44 AM.


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