Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
osmosys
 
Posts: n/a
Default Looking for a function to count alpha values in a range.


Hey,

I'm looking for the right function that will look through a range and
tell me how many times it sees a particular non-numerical value.

For instance say I have these names in a column:

John
Ted
Andrew
John


The function would go through and count all the values for me and give
me this:


Total John: 2
Total Ted: 1
Total Andrew: 1

This would make it so I don't have to count each instance by myself.

Can excel do this?

Thanks

-osmosys


--
osmosys
------------------------------------------------------------------------
osmosys's Profile: http://www.excelforum.com/member.php...o&userid=34952
View this thread: http://www.excelforum.com/showthread...hreadid=546819

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default Looking for a function to count alpha values in a range.



=COUNTIF(A1:100,"John")

OR

=COUNTIF(A1:A4,B1) where B1="John"
HTH

"osmosys" wrote:


Hey,

I'm looking for the right function that will look through a range and
tell me how many times it sees a particular non-numerical value.

For instance say I have these names in a column:

John
Ted
Andrew
John


The function would go through and count all the values for me and give
me this:


Total John: 2
Total Ted: 1
Total Andrew: 1

This would make it so I don't have to count each instance by myself.

Can excel do this?

Thanks

-osmosys


--
osmosys
------------------------------------------------------------------------
osmosys's Profile: http://www.excelforum.com/member.php...o&userid=34952
View this thread: http://www.excelforum.com/showthread...hreadid=546819


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default Looking for a function to count alpha values in a range.

="John "&COUNTIF(A:A,"John")&CHAR(10)&"Ted
"&COUNTIF(A:A,"Ted")&CHAR(10)&"Andrew "&COUNTIF(A:A,"Andrew")

Format the cell for WarpText

Vaya con Dios,
Chuck, CABGx3



"osmosys" wrote:


Hey,

I'm looking for the right function that will look through a range and
tell me how many times it sees a particular non-numerical value.

For instance say I have these names in a column:

John
Ted
Andrew
John


The function would go through and count all the values for me and give
me this:


Total John: 2
Total Ted: 1
Total Andrew: 1

This would make it so I don't have to count each instance by myself.

Can excel do this?

Thanks

-osmosys


--
osmosys
------------------------------------------------------------------------
osmosys's Profile: http://www.excelforum.com/member.php...o&userid=34952
View this thread: http://www.excelforum.com/showthread...hreadid=546819


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
osmosys
 
Posts: n/a
Default Looking for a function to count alpha values in a range.


Hey I tried this out and it works great.

COUNTIF rules


--
osmosys
------------------------------------------------------------------------
osmosys's Profile: http://www.excelforum.com/member.php...o&userid=34952
View this thread: http://www.excelforum.com/showthread...hreadid=546819

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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Count the how many different values in a range beechum1 Excel Worksheet Functions 3 February 12th 06 06:45 AM
Count unique values among duplicates in a subtotal range jcpotwor Excel Discussion (Misc queries) 2 January 12th 06 01:29 PM
Help with using range names in sum function soteman2005 Excel Worksheet Functions 2 November 28th 05 04:43 PM
Selecting a range of values for another function Sergun Excel Worksheet Functions 4 November 24th 05 10:45 PM


All times are GMT +1. The time now is 05:44 AM.

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"