#1   Report Post  
Jambruins
 
Posts: n/a
Default sumif help.

I have a formula in cells J2:J81. The formula returns a number or a #NUM!
message. How do I sum all the cells that contain a number? The #NUM! will
be replaced with a number eventually so I want to the sum to update as the
numbers replace the #NUM!. Thanks
  #2   Report Post  
Fredrik Wahlgren
 
Posts: n/a
Default


"Jambruins" wrote in message
...
I have a formula in cells J2:J81. The formula returns a number or a #NUM!
message. How do I sum all the cells that contain a number? The #NUM!

will
be replaced with a number eventually so I want to the sum to update as the
numbers replace the #NUM!. Thanks



You can use something like

=SUMIF(J2:J81,"<99999999999")

/Fredrik


  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

One way:

=SUM(IF(ISNUMBER(j2:j81),j2:j81))
This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

You can expand/contract your range--but don't use the whole column.


Jambruins wrote:

I have a formula in cells J2:J81. The formula returns a number or a #NUM!
message. How do I sum all the cells that contain a number? The #NUM! will
be replaced with a number eventually so I want to the sum to update as the
numbers replace the #NUM!. Thanks


--

Dave Peterson
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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
SUMIF Not vanjohnson Excel Discussion (Misc queries) 1 March 4th 05 08:42 PM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM
help with "criterea" in the sumif function [email protected] Excel Worksheet Functions 3 December 17th 04 06:27 PM
SUM(IF( Array to avoid #NUM! values Elijah Excel Worksheet Functions 7 November 21st 04 02:17 PM


All times are GMT +1. The time now is 06:22 PM.

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"