Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Formula excluding #N/A

Does anyone know a formula that will sum a column excluding #N/A error. I
have a column that has numbers and #N/A errors but I want to keep the cloumn
the way it is but add the numbers.

Thnx,

MRuiz


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Formula excluding #N/A

=SUM(IF(ISERROR(A1:A10),"",A1:A10))

Entered with Ctrl+Shift+enter rather than just enter since this is an array
formula.

--
Regards,
Tom Ogilvy



"Mark Ruiz" wrote in message
...
Does anyone know a formula that will sum a column excluding #N/A error. I
have a column that has numbers and #N/A errors but I want to keep the

cloumn
the way it is but add the numbers.

Thnx,

MRuiz




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula excluding #N/A

Try running this code on the column. This will replace the error
messages with whatever you want, say 0.

I hope this helps, although its not exactly what you asked for.



G.

For Each Cell In Selection
If Cell.Formula < "" Then Cell.Formula = _
"=if(iserror(" & Mid(Cell.Formula, 2) & _
"),""""," & Mid(Cell.Formula, 2) & ")"
Next Cell



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

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
Date formula excluding 1 day art Excel Discussion (Misc queries) 2 May 21st 08 06:00 PM
Excluding cell in formula Ruben061479 Excel Worksheet Functions 4 January 13th 08 05:34 PM
Looking for formula for lowest costs, excluding zero Pipeladylu Excel Worksheet Functions 7 September 20th 05 10:42 PM
Formula - Excluding weekends & holidays Connie Martin Excel Worksheet Functions 9 February 25th 05 04:28 AM
excluding cells from the formula when empty Joe Shell Excel Worksheet Functions 5 November 21st 04 04:37 PM


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