LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 837
Default Sum Function with Error values

For the special case of SUM, 0 can replace #N/A values. More generally the
array formula
=SUM(IF(ISNA(A1:A50),"",A1:A50))
would still work if SUM were replaced with a different function.

Jerry

"JE McGimpsey" wrote:

Good practice would generally recommend that you eliminate the #N/As,
instead, to avoid having "expected" errors. If they're being generated
from a lookup, you can use something like

=IF(ISNA(VLOOKUP(...)),"Not Found",VLOOKUP(...))

in which case SUM will ignore the text.

You can, though, use this array-entered (CTRL-SHIFT-ENTER or CMD-RETURN)
formula:

=SUM(IF(ISNA(A1:A50),0,A1:A50))

In article .com,
wrote:

Hi,

Can anyone please let me know how can I add some values in a column
which contains some #N/A.

Thanks.

MH

 
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
Error bar values Trichotos Excel Worksheet Functions 1 February 23rd 07 09:01 PM
Error bar values Trichotos Excel Worksheet Functions 0 February 23rd 07 06:43 PM
Make Function ignore 0 and error values AD108 Excel Worksheet Functions 3 November 4th 06 07:03 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM


All times are GMT +1. The time now is 03:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"