Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
CountIf Function
am having trouble with a formula and thought I would see if you all have any
ideas. I am doing a count of dates in Column D of a report, which also has blank columns, and this formula gives me the correct data (number of dates listed in the column): =COUNTIF($D$8:$D$272,"<04/22/2009") But€¦ I need to add additional criteria so I only get the count for €śBob Bugnand€ť. I have tried various ways to add this to the COUNTIF and cant get the formula to work. What I need to add is€¦ ($Q$8:$Q$272,€ťBob Bugnand€ť) |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
CountIf Function
Any time you need more than one criteria, use =SUMPRODUCT()
=SUMPRODUCT(--($D$8:$D$272<39925),--($Q$8:$Q$272="Bob Bugnand")) SUMPRODUCT is one of Excel's most powerful functions. See: http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Gary''s Student - gsnu200848 "Carlene" wrote: am having trouble with a formula and thought I would see if you all have any ideas. I am doing a count of dates in Column D of a report, which also has blank columns, and this formula gives me the correct data (number of dates listed in the column): =COUNTIF($D$8:$D$272,"<04/22/2009") But€¦ I need to add additional criteria so I only get the count for €śBob Bugnand€ť. I have tried various ways to add this to the COUNTIF and cant get the formula to work. What I need to add is€¦ ($Q$8:$Q$272,€ťBob Bugnand€ť) |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
CountIf Function
=SUMPRODUCT(--(D8:D272<DATE(2009,4,22)),--(O8:O272="Bob Bugnand"))
Regards, Stefi €žCarlene€ť ezt Ă*rta: am having trouble with a formula and thought I would see if you all have any ideas. I am doing a count of dates in Column D of a report, which also has blank columns, and this formula gives me the correct data (number of dates listed in the column): =COUNTIF($D$8:$D$272,"<04/22/2009") But€¦ I need to add additional criteria so I only get the count for €śBob Bugnand€ť. I have tried various ways to add this to the COUNTIF and cant get the formula to work. What I need to add is€¦ ($Q$8:$Q$272,€ťBob Bugnand€ť) |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
CountIf Function
=SUMPRODUCT(($D$8:$D$272<DATE(2009,4,22))*(($Q$8:$ Q$272="Bob Bugnand")))
"Carlene" wrote: am having trouble with a formula and thought I would see if you all have any ideas. I am doing a count of dates in Column D of a report, which also has blank columns, and this formula gives me the correct data (number of dates listed in the column): =COUNTIF($D$8:$D$272,"<04/22/2009") But€¦ I need to add additional criteria so I only get the count for €śBob Bugnand€ť. I have tried various ways to add this to the COUNTIF and cant get the formula to work. What I need to add is€¦ ($Q$8:$Q$272,€ťBob Bugnand€ť) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
COUNTIF FUNCTION | Excel Worksheet Functions | |||
please help how to combine IF function with Countif function | Excel Worksheet Functions | |||
How do I use a countif function according to two other countif fu. | Excel Worksheet Functions | |||
Embed a countif function in subtotal function? | Excel Worksheet Functions | |||
COUNTIF Function | Excel Worksheet Functions |