how to remove #REF and #N/A

D

Dream

Hi,

Could you please advise on how to remove the #REF and #N/A .. I am dragging
a formual, and i get those values a lot so instead of manually deleting them
is tehre a a way to make them blank cells....I tried the Find Replace Ctrl+F
but it does not read #REF....

Thanks for your help
 
F

Fred Smith

#REF and #N/A mean Excel thinks you have an error in your formula. The
typical way to handle them is to modify your formula to something like:

=if(iserror(yourformula),"",yourformula)

If you have Excel 2007, you can use:
=iferror(yourformula,"")

Regards,
Fred.
 
S

smartin

Dream said:
Hi,

Could you please advise on how to remove the #REF and #N/A .. I am dragging
a formual, and i get those values a lot so instead of manually deleting them
is tehre a a way to make them blank cells....I tried the Find Replace Ctrl+F
but it does not read #REF....

Thanks for your help

A basic approach in Excel 2003 might look like

=IF(ISERROR(YourFormula),"",YourFormula)

There might be better ways, depending on your version and situation.
 
J

Joerg Mochikun

Not clear what you mean by "dragging a formula" and what you eventually want
to achieve. Delete cells containing errors?

Here is one way:
1) Select the range containing the errors
2) Press F5
3) Push the "Special" Button
4) Select "Formulas" and uncheck all checkboxes except "Errors"
5) Push "OK"
6) Press your Delete Key

Cheers,
Joerg


Delete cells containing error
 

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