Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ray
 
Posts: n/a
Default sumif with multiple conditions

I have three columns: a, b & c and need sum the figures on c if a = week1
and b = empty. Can someone suggest a formula to resolve this issue.

Thanks,

Ray


  #2   Report Post  
KL
 
Posts: n/a
Default

=SUMPRODUCT(--(A1:A100="week1"),--(B1:B100=""),C1:C100)

or a little slower:

=SUMPRODUCT((A1:A100="week1")*(B1:B100="")*C1:C100 )

Regards,
KL


"Ray" wrote in message
...
I have three columns: a, b & c and need sum the figures on c if a = week1
and b = empty. Can someone suggest a formula to resolve this issue.

Thanks,

Ray



  #3   Report Post  
Ray
 
Posts: n/a
Default

KL,

Thanks for your useful suggestion. Is it possible to apply to countif
function as well?

Thanks,

Ray

"KL" wrote in message
...
=SUMPRODUCT(--(A1:A100="week1"),--(B1:B100=""),C1:C100)

or a little slower:

=SUMPRODUCT((A1:A100="week1")*(B1:B100="")*C1:C100 )

Regards,
KL


"Ray" wrote in message
...
I have three columns: a, b & c and need sum the figures on c if a = week1
and b = empty. Can someone suggest a formula to resolve this issue.

Thanks,

Ray





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

=SUMPRODUCT((A1:A100="week1")*(B1:B100=""))


--
HTH

Bob Phillips

"Ray" wrote in message
...
KL,

Thanks for your useful suggestion. Is it possible to apply to countif
function as well?

Thanks,

Ray

"KL" wrote in message
...
=SUMPRODUCT(--(A1:A100="week1"),--(B1:B100=""),C1:C100)

or a little slower:

=SUMPRODUCT((A1:A100="week1")*(B1:B100="")*C1:C100 )

Regards,
KL


"Ray" wrote in message
...
I have three columns: a, b & c and need sum the figures on c if a =

week1
and b = empty. Can someone suggest a formula to resolve this issue.

Thanks,

Ray







  #5   Report Post  
KL
 
Posts: n/a
Default

I guess you meant SUMIF. Don't think so, SUMIF takes only 3 arguments.
Regards,
KL


"Ray" wrote in message
...
KL,

Thanks for your useful suggestion. Is it possible to apply to countif
function as well?

Thanks,

Ray

"KL" wrote in message
...
=SUMPRODUCT(--(A1:A100="week1"),--(B1:B100=""),C1:C100)

or a little slower:

=SUMPRODUCT((A1:A100="week1")*(B1:B100="")*C1:C100 )

Regards,
KL


"Ray" wrote in message
...
I have three columns: a, b & c and need sum the figures on c if a = week1
and b = empty. Can someone suggest a formula to resolve this issue.

Thanks,

Ray









  #6   Report Post  
Ray
 
Posts: n/a
Default

KL,

No, I mean the same syntax is applied to countif. It seems not workable!

Ray

"KL" wrote in message
...
I guess you meant SUMIF. Don't think so, SUMIF takes only 3 arguments.
Regards,
KL


"Ray" wrote in message
...
KL,

Thanks for your useful suggestion. Is it possible to apply to countif
function as well?

Thanks,

Ray

"KL" wrote in message
...
=SUMPRODUCT(--(A1:A100="week1"),--(B1:B100=""),C1:C100)

or a little slower:

=SUMPRODUCT((A1:A100="week1")*(B1:B100="")*C1:C100 )

Regards,
KL


"Ray" wrote in message
...
I have three columns: a, b & c and need sum the figures on c if a =
week1 and b = empty. Can someone suggest a formula to resolve this
issue.

Thanks,

Ray









  #7   Report Post  
KL
 
Posts: n/a
Default

Ray,

I guess Bob and Domenic have answered your question ;-) It is workable.

Regards,
KL


"Ray" wrote in message
...
KL,

No, I mean the same syntax is applied to countif. It seems not workable!

Ray

"KL" wrote in message
...
I guess you meant SUMIF. Don't think so, SUMIF takes only 3 arguments.
Regards,
KL


"Ray" wrote in message
...
KL,

Thanks for your useful suggestion. Is it possible to apply to countif
function as well?

Thanks,

Ray

"KL" wrote in message
...
=SUMPRODUCT(--(A1:A100="week1"),--(B1:B100=""),C1:C100)

or a little slower:

=SUMPRODUCT((A1:A100="week1")*(B1:B100="")*C1:C100 )

Regards,
KL


"Ray" wrote in message
...
I have three columns: a, b & c and need sum the figures on c if a =
week1 and b = empty. Can someone suggest a formula to resolve this
issue.

Thanks,

Ray











  #8   Report Post  
Domenic
 
Posts: n/a
Default

Is this what you mean?

=SUMPRODUCT(--(A1:A100="week1"),--(B1:B100=""))

In article ,
"Ray" wrote:

KL,

Thanks for your useful suggestion. Is it possible to apply to countif
function as well?

Thanks,

Ray

  #9   Report Post  
Ray
 
Posts: n/a
Default

Thanks for all useful suggestions!

Ray

"Domenic" wrote in message
...
Is this what you mean?

=SUMPRODUCT(--(A1:A100="week1"),--(B1:B100=""))

In article ,
"Ray" wrote:

KL,

Thanks for your useful suggestion. Is it possible to apply to countif
function as well?

Thanks,

Ray



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 - multiple conditions J_Barn Excel Worksheet Functions 4 June 28th 05 11:55 PM
Conditional Sum and multiple conditions across different sheets Michael Dreher Excel Worksheet Functions 1 May 26th 05 05:25 PM
SUM based on multiple conditions - SORRY, URGENT!!! marika1981 Excel Worksheet Functions 4 February 18th 05 11:13 AM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM
Sum(if ... multiple conditions ... Interpretation? Ken Excel Discussion (Misc queries) 6 December 16th 04 10:23 PM


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