Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Date formula excluding 1 day | Excel Discussion (Misc queries) | |||
Excluding cell in formula | Excel Worksheet Functions | |||
Looking for formula for lowest costs, excluding zero | Excel Worksheet Functions | |||
Formula - Excluding weekends & holidays | Excel Worksheet Functions | |||
excluding cells from the formula when empty | Excel Worksheet Functions |