#1   Report Post  
Jambruins
 
Posts: n/a
Default SUMIF Help...

I have either a number or a blank in cells D2:P2. I want cell R2 to sum all
of the cells from D2:P2 that have a number in them. All of the cells D2:P2
have a formula in them that either enters a number in the cell or a blank.
How do I have cell R2 sum all the cells that have a number in them? Thanks
  #2   Report Post  
Pimulo Bradfeet
 
Posts: n/a
Default

=sum(d2:p2) will calculate regardless of whether it is a blank or a formula
or a number.

"Jambruins" wrote:

I have either a number or a blank in cells D2:P2. I want cell R2 to sum all
of the cells from D2:P2 that have a number in them. All of the cells D2:P2
have a formula in them that either enters a number in the cell or a blank.
How do I have cell R2 sum all the cells that have a number in them? Thanks

  #3   Report Post  
Jambruins
 
Posts: n/a
Default

Just using sum(d2:p2) does work but now I don't want it to add cells G2, I2,
K2, M2, O2. If I type in d2+e2+f2+h2+j2+l2+n2+p2 it gives me a #value!
error. Thanks

"Pimulo Bradfeet" wrote:

=sum(d2:p2) will calculate regardless of whether it is a blank or a formula
or a number.

"Jambruins" wrote:

I have either a number or a blank in cells D2:P2. I want cell R2 to sum all
of the cells from D2:P2 that have a number in them. All of the cells D2:P2
have a formula in them that either enters a number in the cell or a blank.
How do I have cell R2 sum all the cells that have a number in them? Thanks

  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Jambruins wrote:
Just using sum(d2:p2) does work but now I don't want it to add cells G2, I2,
K2, M2, O2. If I type in d2+e2+f2+h2+j2+l2+n2+p2 it gives me a #value!
error. Thanks

[...]

=SUM(D2:F2,H2,J2,N2,P2)
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
How do I use the sumif if I have multiple criteria (i.e. greater . Kellyatisl Excel Worksheet Functions 3 June 4th 06 06:33 AM
Dynamic sumif function Jimbola Excel Worksheet Functions 5 May 4th 05 01:10 AM
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
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 10:12 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"