#1   Report Post  
Posted to microsoft.public.excel.misc
dannyboy213
 
Posts: n/a
Default COUNT Formula??


I have 2 columns. Col. A is number values. Col. B is text Name data.
What is the formula to count the number in Col. A IF the Col. B is
equal to a specific text name data. life "Stefanie"

A B
1 Danny
1 Stefanie
1 Danny
1 Danny
1 Danny


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile: http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=523251

  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default COUNT Formula??

If you want to count you can use countif

=COUNTIF(B1:B5,"Stefanie")

if you want to sum the numbers that have Stefanie in another column

=SUMIF(B1:B5,"Stefanie",A1:A5)



--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"dannyboy213"
wrote in message
...

I have 2 columns. Col. A is number values. Col. B is text Name data.
What is the formula to count the number in Col. A IF the Col. B is
equal to a specific text name data. life "Stefanie"

A B
1 Danny
1 Stefanie
1 Danny
1 Danny
1 Danny


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile:
http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=523251


  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default COUNT Formula??

=countif(b2:b99,"stefanie")
(to just count the Stefanie's)
or
=sumif(b2:b99,"stefanie",a1:a99)
to actually sum the values in column A.

Debra Dalgleish has lots of notes for counting and summing at:
http://contextures.com/xlFunctions04.html
http://contextures.com/xlFunctions01.html

dannyboy213 wrote:

I have 2 columns. Col. A is number values. Col. B is text Name data.
What is the formula to count the number in Col. A IF the Col. B is
equal to a specific text name data. life "Stefanie"

A B
1 Danny
1 Stefanie
1 Danny
1 Danny
1 Danny

--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile: http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=523251


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
dannyboy213
 
Posts: n/a
Default COUNT Formula??


Keep in mind that we we are counting the number values. The numbers can
vary.


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile: http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=523251

  #5   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default COUNT Formula??

What does that mean? Do you mean that there are blanks in the number column
and they should not be counted?
If so use

=SUMPRODUCT(--(A1:A10<""),--(B1:B10="Stefanie"))

Or do you mean unique numbers in the first column with a name criteria, also
wouldn't it be reasonable that when you exemplify your problem that you
actually use something that is closer to the data you are working with than
to use
2 names and one number? Regardless

=SUM(--(FREQUENCY(IF(B1:B10="Stefanie",MATCH(A1:A10,A1:A1 0,0)),ROW(INDIRECT("1:"&ROWS(A1:A10))))0))

array entered will count the unique numbers in the A where B is "Stefanie"

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"dannyboy213"
wrote in message
...

Keep in mind that we we are counting the number values. The numbers can
vary.


--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile:
http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=523251


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
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula for If Term is on Certain Date then Count Krisjhn Excel Worksheet Functions 3 August 30th 05 07:57 PM
More Help Needed with Count formula Greegan Excel Worksheet Functions 4 July 31st 05 06:31 PM
Count If formula Jo Davis Excel Discussion (Misc queries) 6 May 19th 05 01:59 PM
Count numbers formed from another formula Stephen Excel Discussion (Misc queries) 4 April 5th 05 02:30 AM


All times are GMT +1. The time now is 08:46 PM.

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

About Us

"It's about Microsoft Excel"