Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
HeatherC
 
Posts: n/a
Default sum a range of cells that include an error

How do I sum a range of cells that include a #N/A error. I want the #N/A
cells to register as 0. Currently the total returned is also #N/A.
Thanks
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Several options:

Fix the formula that returns #N/A.

=IF(ISERROR(your_formula),0,your_formula))

or

=IF(ISERROR(your_formula),"",your_formula))

If you use either of the above then a simple =SUM() will
now work.

If you want the #N/A error to be displayed then:

=SUMIF(A1:A10,"0")

Biff

-----Original Message-----
How do I sum a range of cells that include a #N/A error.

I want the #N/A
cells to register as 0. Currently the total returned is

also #N/A.
Thanks
.

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

I think you want

=SUM(IF(NOT(ISERROR(A1:A100)),A1:A100)

which is an error, so commit with Ctrl-Shift-Enter.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"HeatherC" wrote in message
...
How do I sum a range of cells that include a #N/A error. I want the #N/A
cells to register as 0. Currently the total returned is also #N/A.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
What formula is used for subtracting a range of different cells f. tim Excel Worksheet Functions 3 April 21st 23 10:07 PM
Formula help for using a range of cells! Sukismomma Excel Worksheet Functions 5 January 27th 05 02:34 AM
How can I dynamically eliminate blank cells in a given range in E. Scott Steele Excel Worksheet Functions 6 December 17th 04 03:23 AM
How do you delete one cell from a range of protected cells Cgbilliar Excel Worksheet Functions 2 November 3rd 04 10:42 PM
Excel-value in a range of cells for two cross references K.S.Warrier Excel Worksheet Functions 2 November 2nd 04 08:24 AM


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