#1   Report Post  
DME
 
Posts: n/a
Default SUMIF

Is there a function similar to SUMIF that would take two criteria into
consideration? For instance

I want to sum all cells in Column C if Column A =3 and Column B =Yes.

I know sumif will work for 1 criteria but cannot seem to think of how to
make it sum for two.

thanks for the help.


  #2   Report Post  
Jim May
 
Posts: n/a
Default

=SUMPRODUCT((A4:A12=3)*(B4:B12="Yes")*(C4:C12))

"DME" <craigjoseathotmaildotcom wrote in message
...
Is there a function similar to SUMIF that would take two criteria into
consideration? For instance

I want to sum all cells in Column C if Column A =3 and Column B =Yes.

I know sumif will work for 1 criteria but cannot seem to think of how to
make it sum for two.

thanks for the help.




  #3   Report Post  
Trevor Shuttleworth
 
Posts: n/a
Default

Look at SUMPRODUCT

=SUMPRODUCT((A1:A50=3)*(B1:B50="yes")*(C1:C50))

Regards

Trevor


"DME" <craigjoseathotmaildotcom wrote in message
...
Is there a function similar to SUMIF that would take two criteria into
consideration? For instance

I want to sum all cells in Column C if Column A =3 and Column B =Yes.

I know sumif will work for 1 criteria but cannot seem to think of how to
make it sum for two.

thanks for the help.




  #4   Report Post  
DME
 
Posts: n/a
Default

Thank You!



"Trevor Shuttleworth" wrote in message
...
Look at SUMPRODUCT

=SUMPRODUCT((A1:A50=3)*(B1:B50="yes")*(C1:C50))

Regards

Trevor


"DME" <craigjoseathotmaildotcom wrote in message
...
Is there a function similar to SUMIF that would take two criteria into
consideration? For instance

I want to sum all cells in Column C if Column A =3 and Column B =Yes.

I know sumif will work for 1 criteria but cannot seem to think of how to
make it sum for two.

thanks for the help.






  #5   Report Post  
Trevor Shuttleworth
 
Posts: n/a
Default

You're welcome.


"DME" <craigjoseathotmaildotcom wrote in message
...
Thank You!



"Trevor Shuttleworth" wrote in message
...
Look at SUMPRODUCT

=SUMPRODUCT((A1:A50=3)*(B1:B50="yes")*(C1:C50))

Regards

Trevor


"DME" <craigjoseathotmaildotcom wrote in message
...
Is there a function similar to SUMIF that would take two criteria into
consideration? For instance

I want to sum all cells in Column C if Column A =3 and Column B =Yes.

I know sumif will work for 1 criteria but cannot seem to think of how
to
make it sum for two.

thanks for the help.










  #6   Report Post  
seve
 
Posts: n/a
Default

I have a similar problem, except I need to count column C if criteria
in Columns A and B are met.

Any ideas?

Thanks,

Steve

Trevor Shuttleworth wrote:
You're welcome.


"DME" <craigjoseathotmaildotcom wrote in message
...
Thank You!



"Trevor Shuttleworth" wrote in message
...
Look at SUMPRODUCT

=SUMPRODUCT((A1:A50=3)*(B1:B50="yes")*(C1:C50))

Regards

Trevor


"DME" <craigjoseathotmaildotcom wrote in message
...
Is there a function similar to SUMIF that would take two

criteria into
consideration? For instance

I want to sum all cells in Column C if Column A =3 and Column B

=Yes.

I know sumif will work for 1 criteria but cannot seem to think

of how
to
make it sum for two.

thanks for the help.







  #7   Report Post  
Trevor Shuttleworth
 
Posts: n/a
Default

Seve

one way:

=SUMPRODUCT((A2:A51=3)*(B2:B51="yes")*(C2:C51<"") )

Regards

Trevor


"seve" wrote in message
oups.com...
I have a similar problem, except I need to count column C if criteria
in Columns A and B are met.

Any ideas?

Thanks,

Steve

Trevor Shuttleworth wrote:
You're welcome.


"DME" <craigjoseathotmaildotcom wrote in message
...
Thank You!



"Trevor Shuttleworth" wrote in message
...
Look at SUMPRODUCT

=SUMPRODUCT((A1:A50=3)*(B1:B50="yes")*(C1:C50))

Regards

Trevor


"DME" <craigjoseathotmaildotcom wrote in message
...
Is there a function similar to SUMIF that would take two

criteria into
consideration? For instance

I want to sum all cells in Column C if Column A =3 and Column B

=Yes.

I know sumif will work for 1 criteria but cannot seem to think

of how
to
make it sum for two.

thanks for the 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
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 - 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
SUMIF between dates Bruce Excel Worksheet Functions 3 November 25th 04 05:25 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 09:27 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"