Home |
Search |
Today's Posts |
#1
|
|||
|
|||
SUMIF with two criteria??
I would like to sum values for all rows where the value in column B = 'F' AND the value in column C = 'X' I don't seem able to use SUMIF when I have 2 criteria that need to be met for summing as opposed to just one. Any advice would be greatly appreciated. Chas. -- Potatosalad2 ------------------------------------------------------------------------ Potatosalad2's Profile: http://www.excelforum.com/member.php...o&userid=20834 View this thread: http://www.excelforum.com/showthread...hreadid=479214 |
#2
|
|||
|
|||
SUMIF with two criteria??
Use the SUMPRODUCT function:
=SUMPRODUCT(--(B1:B100="F"),--(C1:C100="X"),D1:D100) change the D1:D100 to the range containing the values you want to sum. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Potatosalad2" wrote in message ... I would like to sum values for all rows where the value in column B = 'F' AND the value in column C = 'X' I don't seem able to use SUMIF when I have 2 criteria that need to be met for summing as opposed to just one. Any advice would be greatly appreciated. Chas. -- Potatosalad2 ------------------------------------------------------------------------ Potatosalad2's Profile: http://www.excelforum.com/member.php...o&userid=20834 View this thread: http://www.excelforum.com/showthread...hreadid=479214 |
#3
|
|||
|
|||
SUMIF with two criteria??
=SUMPRODUCT(--(C2:C200="X"),--(B2:B200="F"))
-- HTH RP (remove nothere from the email address if mailing direct) "Potatosalad2" wrote in message ... I would like to sum values for all rows where the value in column B = 'F' AND the value in column C = 'X' I don't seem able to use SUMIF when I have 2 criteria that need to be met for summing as opposed to just one. Any advice would be greatly appreciated. Chas. -- Potatosalad2 ------------------------------------------------------------------------ Potatosalad2's Profile: http://www.excelforum.com/member.php...o&userid=20834 View this thread: http://www.excelforum.com/showthread...hreadid=479214 |
#4
|
|||
|
|||
SUMIF with two criteria??
Thank you very much. This is exactly what i needed. -- Potatosalad2 ------------------------------------------------------------------------ Potatosalad2's Profile: http://www.excelforum.com/member.php...o&userid=20834 View this thread: http://www.excelforum.com/showthread...hreadid=479214 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I use the sumif if I have multiple criteria (i.e. greater . | Excel Worksheet Functions | |||
SUMIF with Mutiple Ranges & Criteria | Excel Discussion (Misc queries) | |||
"criteria" in a sumif refering to the value in another cell | Excel Discussion (Misc queries) | |||
How do I ask for multiple criteria when creating a "sumif" formul. | Excel Worksheet Functions | |||
Can I use a cell reference in the criteria for the sumif function. | Excel Worksheet Functions |