Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Cheryl W
 
Posts: n/a
Default Using Sumif with 2 conditions

I want to sum the data in column c if column a= 915 and column c =1001. I
can't get it to recognize the 2nd condition (column c=1001). Please help!
  #2   Report Post  
David Billigmeier
 
Posts: n/a
Default

=SUMPRODUCT(--(A1:A10000=915),--(C1:C10000=1001),C1:C10000)

Change the row numbers to fit your data.


--
Regards,
Dave
<!--


"Cheryl W" wrote:

I want to sum the data in column c if column a= 915 and column c =1001. I
can't get it to recognize the 2nd condition (column c=1001). Please help!

  #3   Report Post  
Alan
 
Posts: n/a
Default

=SUMPRODUCT(--(A1:A24=915),--(B1:B241001),--(C1:C24))
Note that 915 can be contained in a cell like
=SUMPRODUCT(--(A1:A24=F1),--(B1:B241001),--(C1:C24))
Regards,
Alan.
"Cheryl W" wrote in message
...
I want to sum the data in column c if column a= 915 and column c =1001. I
can't get it to recognize the 2nd condition (column c=1001). Please
help!



  #4   Report Post  
Cheryl W
 
Posts: n/a
Default

Thank You David!

"David Billigmeier" wrote:

=SUMPRODUCT(--(A1:A10000=915),--(C1:C10000=1001),C1:C10000)

Change the row numbers to fit your data.


--
Regards,
Dave
<!--


"Cheryl W" wrote:

I want to sum the data in column c if column a= 915 and column c =1001. I
can't get it to recognize the 2nd condition (column c=1001). Please help!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CarlSprake
 
Posts: n/a
Default Using Sumif with 2 conditions

Alan,

Thanks very much for providing this solution, it was just the thing I was
looking for as well. However, I can't see how the SUMPRODUCT function is
working in this case. The two minus signs are obviously critical but why?

Can you answer this for me, or point me in the direction of an explanation
please.

Thanks

Carl Sprake
Oxford

"Alan" wrote:

=SUMPRODUCT(--(A1:A24=915),--(B1:B241001),--(C1:C24))
Note that 915 can be contained in a cell like
=SUMPRODUCT(--(A1:A24=F1),--(B1:B241001),--(C1:C24))
Regards,
Alan.
"Cheryl W" wrote in message
...
I want to sum the data in column c if column a= 915 and column c =1001. I
can't get it to recognize the 2nd condition (column c=1001). Please
help!






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Using Sumif with 2 conditions

See http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed
explanation.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"CarlSprake" wrote in message
...
Alan,

Thanks very much for providing this solution, it was just the thing I was
looking for as well. However, I can't see how the SUMPRODUCT function is
working in this case. The two minus signs are obviously critical but why?

Can you answer this for me, or point me in the direction of an explanation
please.

Thanks

Carl Sprake
Oxford

"Alan" wrote:

=SUMPRODUCT(--(A1:A24=915),--(B1:B241001),--(C1:C24))
Note that 915 can be contained in a cell like
=SUMPRODUCT(--(A1:A24=F1),--(B1:B241001),--(C1:C24))
Regards,
Alan.
"Cheryl W" wrote in message
...
I want to sum the data in column c if column a= 915 and column c

=1001. I
can't get it to recognize the 2nd condition (column c=1001). Please
help!






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
SUMIF based on two conditions grey Excel Worksheet Functions 6 August 1st 05 04:51 PM
sumif with 2 conditions ?? can this be done?? WTG Excel Worksheet Functions 2 July 4th 05 10:08 PM
SUMIF with two conditions Fred Holmes Excel Discussion (Misc queries) 3 May 1st 05 10:10 PM
sumif with two conditions ww Excel Worksheet Functions 3 March 31st 05 01:44 AM
SUMIF based on 2 conditions TimH Excel Worksheet Functions 3 October 28th 04 08:18 PM


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