Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() All, I am having some trouble with a count formula in my worksheet. Example: I have Cell1-10 in col A populated with the name 'john' Col B contains different numerical values for Cell 1-10, three of them being the number 5. Is there a formula I can use that will give me a count of any cells in Col A with the value 'John' *AND* any cells in col B with the value '5' Help would be much appreciated. Jason B -- nosaj_enryb ------------------------------------------------------------------------ nosaj_enryb's Profile: http://www.excelforum.com/member.php...o&userid=28715 View this thread: http://www.excelforum.com/showthread...hreadid=484058 |
#2
![]() |
|||
|
|||
![]()
Hi!
Try this: =SUMPRODUCT(--(A1:A10="John"),--(B1:B10=5)) Better: C1 = John D1 = 5 =SUMPRODUCT(--(A1:A10=C1),--(B1:B10=D1)) Biff "nosaj_enryb" wrote in message ... All, I am having some trouble with a count formula in my worksheet. Example: I have Cell1-10 in col A populated with the name 'john' Col B contains different numerical values for Cell 1-10, three of them being the number 5. Is there a formula I can use that will give me a count of any cells in Col A with the value 'John' *AND* any cells in col B with the value '5' Help would be much appreciated. Jason B -- nosaj_enryb ------------------------------------------------------------------------ nosaj_enryb's Profile: http://www.excelforum.com/member.php...o&userid=28715 View this thread: http://www.excelforum.com/showthread...hreadid=484058 |
#3
![]() |
|||
|
|||
![]()
=SUMPRODUCT(--(A1:A10="John"),--(B1:B10=5))
-- HTH RP (remove nothere from the email address if mailing direct) "nosaj_enryb" wrote in message ... All, I am having some trouble with a count formula in my worksheet. Example: I have Cell1-10 in col A populated with the name 'john' Col B contains different numerical values for Cell 1-10, three of them being the number 5. Is there a formula I can use that will give me a count of any cells in Col A with the value 'John' *AND* any cells in col B with the value '5' Help would be much appreciated. Jason B -- nosaj_enryb ------------------------------------------------------------------------ nosaj_enryb's Profile: http://www.excelforum.com/member.php...o&userid=28715 View this thread: http://www.excelforum.com/showthread...hreadid=484058 |
#4
![]() |
|||
|
|||
![]() Perfect. Works a charm. Many thanks guys -- nosaj_enryb ------------------------------------------------------------------------ nosaj_enryb's Profile: http://www.excelforum.com/member.php...o&userid=28715 View this thread: http://www.excelforum.com/showthread...hreadid=484058 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can you use count with an array formula similar to using sum | Excel Worksheet Functions | |||
Count If formula | Excel Discussion (Misc queries) | |||
Formula to count number of dates in an array | Excel Worksheet Functions | |||
Count numbers formed from another formula | Excel Discussion (Misc queries) | |||
Formula to count the cells in a range that have a fill color. | Excel Discussion (Misc queries) |