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

Is there anyway to return "0" when a cell receives the #N/A error? Not in
the same cell, but another one so it can be used in a new formula.

Ex: =IF(C81="#N/A", "0")

This didn't work.

Thanks for any help I can get.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default #N/A

=IF(ISNA(C81),0,C81)

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"sixthhole" wrote in message
...
Is there anyway to return "0" when a cell receives the #N/A error? Not in
the same cell, but another one so it can be used in a new formula.

Ex: =IF(C81="#N/A", "0")

This didn't work.

Thanks for any help I can get.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default #N/A

There is a function called ISNA which you could use like...

=IF(isna(C81), "0", C81)

--
HTH...

Jim Thomlinson


"sixthhole" wrote:

Is there anyway to return "0" when a cell receives the #N/A error? Not in
the same cell, but another one so it can be used in a new formula.

Ex: =IF(C81="#N/A", "0")

This didn't work.

Thanks for any help I can get.

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

Thanks guys!!!!!!

"Jim Thomlinson" wrote:

There is a function called ISNA which you could use like...

=IF(isna(C81), "0", C81)

--
HTH...

Jim Thomlinson


"sixthhole" wrote:

Is there anyway to return "0" when a cell receives the #N/A error? Not in
the same cell, but another one so it can be used in a new formula.

Ex: =IF(C81="#N/A", "0")

This didn't work.

Thanks for any help I can get.

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

In your second post, you put the quotes back into my formula!

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Jon Peltier" wrote in message
...
=IF(ISNA(C81),0,C81)

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"sixthhole" wrote in message
...
Is there anyway to return "0" when a cell receives the #N/A error? Not
in
the same cell, but another one so it can be used in a new formula.

Ex: =IF(C81="#N/A", "0")

This didn't work.

Thanks for any help I can get.





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



All times are GMT +1. The time now is 12:45 AM.

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"