Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
nosaj_enryb
 
Posts: n/a
Default Count formula Help...


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   Report Post  
Biff
 
Posts: n/a
Default Count formula Help...

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   Report Post  
Bob Phillips
 
Posts: n/a
Default Count formula Help...

=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   Report Post  
nosaj_enryb
 
Posts: n/a
Default Count formula Help...


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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you use count with an array formula similar to using sum PhilH Excel Worksheet Functions 3 June 27th 05 08:00 AM
Count If formula Jo Davis Excel Discussion (Misc queries) 6 May 19th 05 01:59 PM
Formula to count number of dates in an array Lilasviolet Excel Worksheet Functions 2 April 7th 05 07:44 PM
Count numbers formed from another formula Stephen Excel Discussion (Misc queries) 4 April 5th 05 02:30 AM
Formula to count the cells in a range that have a fill color. Molly F Excel Discussion (Misc queries) 2 January 19th 05 06:15 PM


All times are GMT +1. The time now is 07:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"