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

If I am adding a column that has an #N/A, it returns an #N/A. How can I get
it to work?

I used an if statement whe =if(+B5="#N/A",0,+B5)- it did not work.

Help.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Help with #N/A

Try,

=IF(ISNA(B5),0,B5)

Mike

"Al G" wrote:

If I am adding a column that has an #N/A, it returns an #N/A. How can I get
it to work?

I used an if statement whe =if(+B5="#N/A",0,+B5)- it did not work.

Help.

Thanks.

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

First of all, remove the leading '+' signs.

Second, to test for #N/A, use ISNA():

=IF(ISNA(B5),0,B5)

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


"Al G" <Al wrote in message
...
If I am adding a column that has an #N/A, it returns an #N/A. How can I
get
it to work?

I used an if statement whe =if(+B5="#N/A",0,+B5)- it did not work.

Help.

Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Help with #N/A

=IF(ISNA(B5),0,B5)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Al G" <Al wrote in message
...
If I am adding a column that has an #N/A, it returns an #N/A. How can I
get
it to work?

I used an if statement whe =if(+B5="#N/A",0,+B5)- it did not work.

Help.

Thanks.


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 06:03 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"