Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dannyboy213
 
Posts: n/a
Default Count items on the list


On column A, it is a list of different states (ie. CA, FL , NV and so
on). I don't know how many different states in the column because the
list is too long.

Is there a formula to know how many instances for each state on the
list.


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

  #2   Report Post  
Posted to microsoft.public.excel.misc
poloboyUK
 
Posts: n/a
Default Count items on the list


Have you tried fully utilising the COUNT function.

Just spit-balling but COUNT("Ca") for example. Does that work or not?


--
poloboyUK
------------------------------------------------------------------------
poloboyUK's Profile: http://www.excelforum.com/member.php...o&userid=31097
View this thread: http://www.excelforum.com/showthread...hreadid=507788

  #3   Report Post  
Posted to microsoft.public.excel.misc
dannyboy213
 
Posts: n/a
Default Count items on the list


The problem is I don't know which states are on the list because the
list is too long.
poloboyUK Wrote:
Have you tried fully utilising the COUNT function.

Just spit-balling but COUNT("Ca") for example. Does that work or not?



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

  #4   Report Post  
Posted to microsoft.public.excel.misc
vezerid
 
Posts: n/a
Default Count items on the list

dannyboy

First you need a collection of all the different states appearing, i.e.
a list in which each state appears only once. To do this, select the
column, and use Data | Advanced Filter. Choose Fileter in another
location, Unique records only and specify the other location. No need
for criteria.

Once you have all the unique data neatly in place (say in E2:E52), next
to them, say in F2, you can put the following formula:

=COUNTIF(A:A, E2)

Assuming original list is in column A:A.

HTH
Kostis Vezerides

  #5   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Count items on the list

Just list the 50 possible somewhere, say M1:M50, and use

=COUNTIF(A:A,M1)

and copy down

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"dannyboy213"
wrote in message
...

The problem is I don't know which states are on the list because the
list is too long.
poloboyUK Wrote:
Have you tried fully utilising the COUNT function.

Just spit-balling but COUNT("Ca") for example. Does that work or not?



--
dannyboy213
------------------------------------------------------------------------
dannyboy213's Profile:

http://www.excelforum.com/member.php...o&userid=31032
View this thread: http://www.excelforum.com/showthread...hreadid=507788





  #6   Report Post  
Posted to microsoft.public.excel.misc
vezerid
 
Posts: n/a
Default Count items on the list

In my answer above I give you a way to generate the unique list of
states using Advanced Filter.

HTH
Kostis Vezerides

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 do I set up a formula to count multiple items? Mikaka Excel Worksheet Functions 4 January 23rd 06 06:27 AM
Most popular items in a list Eddie Excel Worksheet Functions 1 December 2nd 05 10:59 AM
Make typing "jump" to matching item(s) in drop-down list? Kathy Excel Discussion (Misc queries) 4 November 22nd 05 10:25 PM
is it possible to re-size or format list items in dropdown box? jc Excel Discussion (Misc queries) 1 August 14th 05 12:01 AM
sum particular items from a list Jeff Excel Discussion (Misc queries) 3 March 1st 05 03:50 PM


All times are GMT +1. The time now is 12:39 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"