A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sum based on specific condition



 
 
Thread Tools Display Modes
  #41  
Old June 7th, 2007, 05:04 PM posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
external usenet poster
 
Posts: 3,232
Default Sum based on specific condition

LOL! That was just the 35th answer, do you really think a simple question
like that would have been left unanswered for 48 hours? How about getting a
newsreader?


--
Regards,

Peo Sjoblom


"ShaneDevenshire" wrote in
message news
Hi,

Since the system is down I can't see if you got a response to this one so
here it is:

=SUM((A1:A9B1:B9)*D19)

Press Ctrl+Shift+Enter rather than just Enter

or

=SUMPRODUCT((A1:A9B1:B9)*D19)

--
Cheers,
Shane Devenshire


"Wendy" wrote:

Need help...I am trying to sum only those values in column (D)
whose corresponding value in column (A) is greater than the value in
column (B).

(A) (B) (C) (D)
1. 6,942 292 0.81 5,614.84
2. 317 0 0.92 292.87
3. 6,207 20,374 7.64 47,421.48
4. 417 17,588 5.84 2,435.28
5. 43,921 108,193 1.01 44,525.47
6. 5,974 15,883 3.11 18,579.14
7. 1,834 7,062 1.79 3,283.57
8. 665 733 2.13 1,416.76
9. 21,855 24,149 1.70 37,153.00

Any suggestions? I've been struggling with this for the past few days.


--
Wendy



  #42  
Old June 7th, 2007, 05:35 PM posted to microsoft.public.excel.worksheet.functions
Sam Chambers
external usenet poster
 
Posts: 2
Default Sum based on specific condition

Someone else might have a more elegant way of doing this, but here's what I'd
do:

In cell E1, put: =if(a1b1,d1,0). Then sum column E instead of column D to
get your total.

Hope this helps!

Sam.

"Wendy" wrote:

Need help...I am trying to sum only those values in column (D)
whose corresponding value in column (A) is greater than the value in
column (B).

(A) (B) (C) (D)
1. 6,942 292 0.81 5,614.84
2. 317 0 0.92 292.87
3. 6,207 20,374 7.64 47,421.48
4. 417 17,588 5.84 2,435.28
5. 43,921 108,193 1.01 44,525.47
6. 5,974 15,883 3.11 18,579.14
7. 1,834 7,062 1.79 3,283.57
8. 665 733 2.13 1,416.76
9. 21,855 24,149 1.70 37,153.00

Any suggestions? I've been struggling with this for the past few days.


--
Wendy

  #43  
Old June 7th, 2007, 05:35 PM posted to microsoft.public.excel.worksheet.functions
N Harkawat
external usenet poster
 
Posts: 54
Default Sum based on specific condition

Try

=SUM(IF(B1:B9A1:A9,D19))

after typing the above press CTRL+SHIFT+ENTER instead of simple enter

"Wendy" wrote:

Need help...I am trying to sum only those values in column (D)
whose corresponding value in column (A) is greater than the value in
column (B).

(A) (B) (C) (D)
1. 6,942 292 0.81 5,614.84
2. 317 0 0.92 292.87
3. 6,207 20,374 7.64 47,421.48
4. 417 17,588 5.84 2,435.28
5. 43,921 108,193 1.01 44,525.47
6. 5,974 15,883 3.11 18,579.14
7. 1,834 7,062 1.79 3,283.57
8. 665 733 2.13 1,416.76
9. 21,855 24,149 1.70 37,153.00

Any suggestions? I've been struggling with this for the past few days.


--
Wendy

  #44  
Old June 7th, 2007, 09:25 PM posted to microsoft.public.excel.worksheet.functions
Harlan Grove[_2_]
external usenet poster
 
Posts: 1,439
Default Sum based on specific condition

"Peo Sjoblom" wrote...
LOL! That was just the 35th answer, do you really think a simple
question like that would have been left unanswered for 48 hours?
How about getting a newsreader?

....

What?! There might be something better than Microsoft's own web site?!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.