Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Excel > Excel

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-16-2006, 06:55 AM
Novice
 
Join Date: Feb 2006
Posts: 1
pumpkin head
Default Multiple criteria in SUMIF?

Hi, I'm after some help regarding SUMIF.



Basically I want to add up all of the numbers in column O that have a 100 in column A, and a 6 in column D.

I can do this separately like so:

SUMIF(A:A,100,O:O)

and

SUMIF(D: D,6,O:O)

but that doesn't help me, because I want to filter out any row which doesn't have a 100 in A and a 6 in D.

Any help would be appreciated.

PH.
Reply With Quote
  #2  
Old 02-17-2006, 09:06 AM
Novice
 
Join Date: Jan 2006
Posts: 9
adbarnes
Default Try this:

Create a total based on multiple conditions
Use the following formula to calculate the total value of cells F5:F25, where B5:B25 contains "Northwind" and the range C5:C25 contains the region name "Western".

=SUM(IF((B5:B25="Northwind")*(C5:C25="Western"),F5 :F25))

To calculate the total value of cells F5:F25, where B5:B25 contains either "Northwind" or "Terra Firm", use the following formula.

=SUM(IF((B5:B25="Northwind")+(B5:B25="Terra Firm"),F5:F25))

Both of these formulas are array formulas and must be entered by pressing CTRL+SHIFT+ENTER. Learn about array formulas.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Folders in Outlook Cabbage1031 Outlook 0 05-23-2007 10:56 AM
Help with consolidating multiple records into one wbiggs2 Excel 0 11-30-2006 01:02 PM
How to count cells containing data and meet certain criteria AdamNT Excel 1 08-11-2006 11:51 PM
Filtering past or future events in DRW query criteria jvieille Misc 1 02-11-2006 06:26 AM
import multiple categories stormin.norm Outlook 0 01-30-2006 01:36 PM


All times are GMT -7. The time now is 11:28 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft