Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hello all!
I have been reading the discussion groups and any website I can find on countif functions with multiple criteria and I cannot seem to find the answer. I have a spreadsheet that looks something like this: A B Dale 1/5/05 Susan 2/5/05 Dale 2/5/05 Dale 2/5/05 Mike 1/5/05 I want to have a formula that will count how many times the name "Dale" in column A shows up with the date "2/5/05" in column B. I have a summary sheet and the information is on sheet '2005'! With the example above, my answer would be 2. I have tried several formulas including: =COUNT('2005'!G:G="*Dale*",'2005'!A:A="1/5/05") =SUMPRODUCT(('2005'!G:G="*Dale*")*('2005'!A:A="2/5/05")) What am I doing wrong? Thanks for all your help in advance. |
#2
![]() |
|||
|
|||
![]()
Hi Toby
you're on the right track with the SUMPRODUCT function - however, you can't use full columns with this function - you need to define the range. =SUMPRODUCT(--('2005'!G1:G17="Dale"),--('2005'!A1:A17=DATEVALUE("2/05/05"))) check out http://www.xldynamic.com/source/xld.SUMPRODUCT.html for details on the sumproduct function Cheers JulieD "Toby0924" wrote in message ... Hello all! I have been reading the discussion groups and any website I can find on countif functions with multiple criteria and I cannot seem to find the answer. I have a spreadsheet that looks something like this: A B Dale 1/5/05 Susan 2/5/05 Dale 2/5/05 Dale 2/5/05 Mike 1/5/05 I want to have a formula that will count how many times the name "Dale" in column A shows up with the date "2/5/05" in column B. I have a summary sheet and the information is on sheet '2005'! With the example above, my answer would be 2. I have tried several formulas including: =COUNT('2005'!G:G="*Dale*",'2005'!A:A="1/5/05") =SUMPRODUCT(('2005'!G:G="*Dale*")*('2005'!A:A="2/5/05")) What am I doing wrong? Thanks for all your help in advance. |
#3
![]() |
|||
|
|||
![]()
FWIW, I always suggest using a date check of
--"2005-05-05" (generically --"yyyy-mm-dd" ) to protect against not working in other countries -- HTH RP (remove nothere from the email address if mailing direct) "JulieD" wrote in message ... Hi Toby you're on the right track with the SUMPRODUCT function - however, you can't use full columns with this function - you need to define the range. =SUMPRODUCT(--('2005'!G1:G17="Dale"),--('2005'!A1:A17=DATEVALUE("2/05/05"))) check out http://www.xldynamic.com/source/xld.SUMPRODUCT.html for details on the sumproduct function Cheers JulieD "Toby0924" wrote in message ... Hello all! I have been reading the discussion groups and any website I can find on countif functions with multiple criteria and I cannot seem to find the answer. I have a spreadsheet that looks something like this: A B Dale 1/5/05 Susan 2/5/05 Dale 2/5/05 Dale 2/5/05 Mike 1/5/05 I want to have a formula that will count how many times the name "Dale" in column A shows up with the date "2/5/05" in column B. I have a summary sheet and the information is on sheet '2005'! With the example above, my answer would be 2. I have tried several formulas including: =COUNT('2005'!G:G="*Dale*",'2005'!A:A="1/5/05") =SUMPRODUCT(('2005'!G:G="*Dale*")*('2005'!A:A="2/5/05")) What am I doing wrong? Thanks for all your help in advance. |
#4
![]() |
|||
|
|||
![]()
Thank you for your help!
"Bob Phillips" wrote: FWIW, I always suggest using a date check of --"2005-05-05" (generically --"yyyy-mm-dd" ) to protect against not working in other countries -- HTH RP (remove nothere from the email address if mailing direct) "JulieD" wrote in message ... Hi Toby you're on the right track with the SUMPRODUCT function - however, you can't use full columns with this function - you need to define the range. =SUMPRODUCT(--('2005'!G1:G17="Dale"),--('2005'!A1:A17=DATEVALUE("2/05/05"))) check out http://www.xldynamic.com/source/xld.SUMPRODUCT.html for details on the sumproduct function Cheers JulieD "Toby0924" wrote in message ... Hello all! I have been reading the discussion groups and any website I can find on countif functions with multiple criteria and I cannot seem to find the answer. I have a spreadsheet that looks something like this: A B Dale 1/5/05 Susan 2/5/05 Dale 2/5/05 Dale 2/5/05 Mike 1/5/05 I want to have a formula that will count how many times the name "Dale" in column A shows up with the date "2/5/05" in column B. I have a summary sheet and the information is on sheet '2005'! With the example above, my answer would be 2. I have tried several formulas including: =COUNT('2005'!G:G="*Dale*",'2005'!A:A="1/5/05") =SUMPRODUCT(('2005'!G:G="*Dale*")*('2005'!A:A="2/5/05")) What am I doing wrong? Thanks for all your help in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to multiple conditions to validate more than 2 conditions to . | Excel Worksheet Functions | |||
count cells over multiple sheets | Excel Worksheet Functions | |||
Count If Formula for multiple conditions?? How To?? | Excel Worksheet Functions | |||
Count Based upon Multiple Conditions | Excel Worksheet Functions | |||
Count rows based on multiple criteria | Excel Worksheet Functions |