Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Potatosalad2
 
Posts: n/a
Default 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   Report Post  
Chip Pearson
 
Posts: n/a
Default 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   Report Post  
Bob Phillips
 
Posts: n/a
Default 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   Report Post  
Potatosalad2
 
Posts: n/a
Default 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
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 do I use the sumif if I have multiple criteria (i.e. greater . Kellyatisl Excel Worksheet Functions 3 June 4th 06 06:33 AM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM
"criteria" in a sumif refering to the value in another cell mark Excel Discussion (Misc queries) 1 January 31st 05 07:39 PM
How do I ask for multiple criteria when creating a "sumif" formul. Rachelle Excel Worksheet Functions 3 December 1st 04 11:49 PM
Can I use a cell reference in the criteria for the sumif function. Number Cruncher Excel Worksheet Functions 2 November 4th 04 07:52 PM


All times are GMT +1. The time now is 03:24 PM.

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"