Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hey,
I'm having some difficulty extracting some of the information I need from my database. What I need to do is do a count based on 2 criteria in 2 columns. HELP please :) This is totaly incorrect code but it will help get the idea across sumif(a1:a5600, 3) & sumif(b1:b5600, 1) Thanks Andrew |
#2
![]() |
|||
|
|||
![]()
Try...
=SUMPRODUCT(--(A1:A5600=3),--(B1:B5600=1)) or =SUMPRODUCT(--(A1:A5600=D1),--(B1:B5600=E1)) ....where D1 contains your first criterion, such as 3, and E1 contains your second criterion, such as 1. Hope this helps! In article .com, wrote: Hey, I'm having some difficulty extracting some of the information I need from my database. What I need to do is do a count based on 2 criteria in 2 columns. HELP please :) This is totaly incorrect code but it will help get the idea across sumif(a1:a5600, 3) & sumif(b1:b5600, 1) Thanks Andrew |
#3
![]() |
|||
|
|||
![]()
worked perfect, Thanks
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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) | |||
SumIf Criteria Matches | Excel Worksheet Functions | |||
"criteria" in a sumif refering to the value in another cell | Excel Discussion (Misc queries) | |||
Can I use a cell reference in the criteria for the sumif function. | Excel Worksheet Functions |