View Single Post
  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default

If your data is sorted, you could add a header row (if you don't have one) and
then:

Data|subtotal

Another option that is very powerful is: Data|Pivottable.

Add a single row of headers to your data (if you don't have them now).
select your data A1:A999 (through the bottom right corner)
Data|pivottable (actually, this menu item changes captions with versions of xl)
follow the wizard
(just click Next until you get to a dialog that has a Layout button on it)
click that Layout button
Drag the header for the column to the Row field.
drag the header for the Column field to the data field

If you don't see "Count of xxx" then double click on that one and
change it to Count

click ok and finish

Tada!

If you want to read more about the pivottable stuff, you may want to look at
some links:

Debra Dalgleish's pictures at Jon Peltier's site:
http://peltiertech.com/Excel/Pivots/pivottables.htm
And Debra's own site:
http://www.contextures.com/xlPivot01.html

John Walkenbach also has some at:
http://j-walk.com/ss/excel/files/general.htm
(look for Tony Gwynn's Hit Database)

Chip Pearson keeps Harald Staff's notes at:
http://www.cpearson.com/excel/pivots.htm

MS has some at (xl2000 and xl2002):
http://office.microsoft.com/downloads/2000/XCrtPiv.aspx
http://office.microsoft.com/assistan...lconPT101.aspx

andy wrote:

A bit more detail...

I have a column with text entries, ie:

a
a
b
c
c
c
a
a
c

I'm looking for someway to display all the text entries, i.e. a,b,c, but
will also give how many times they appeared in the list, so it would look
something like
a 4
b 1
c 3

There may be several types of text in the column (i.e. a,b,c,d,e,f,g etc...)
so I'm looking for something where you don't have to type in the values.

There may also be empty cells in the list. I wouldn't want to count them.

Any ideas?

"andy" wrote:

how can I list items in a column with totals?

I have a column containing a list of multiple (text) items.

I'd like to have a summary, so that I have a list of the items together with
the totals of how many times the item appeared.

I guess this must be simple, but don't know how to go about it.

Cheers


--

Dave Peterson