Remember Me?

#1
February 21st 05, 04:39 PM
 andy Posts: n/a
how can I list items in a column with totals?

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

#3
February 21st 05, 06:17 PM
 Dave O Posts: n/a

Hi, Andy-
Here's how I do it, assuming all your text labels are in column A and
the numbers to be summed are in column B. I develop a grand total for
all items at the bottom of column B: call it cell B100. Under that I
list each item that appears in column A: call it cell A103 to A108.
The formula in cell B103 is
=SUMIF(\$A\$1:\$A\$99,A103,\$B\$1:\$B\$99)
....which you can copy down through B108. In cell B109, develop a sum
of the individual totals and compare it to the total in B100 as a
checksum to make sure the list in A103:A108 is comprehensive.

#4
February 22nd 05, 09:53 AM
 andy Posts: n/a

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

#5
February 22nd 05, 08:30 PM
 Dave Peterson Posts: n/a

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.

select your data A1:A999 (through the bottom right corner)
Data|pivottable (actually, this menu item changes captions with versions of xl)
(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

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

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/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

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post Pank Mehta Excel Discussion (Misc queries) 1 February 3rd 05 09:29 AM Full Effect Landscaping Excel Discussion (Misc queries) 2 February 2nd 05 01:42 AM Nicole L. Excel Worksheet Functions 3 January 27th 05 10:42 PM Michelle Craig Excel Discussion (Misc queries) 2 December 22nd 04 08:32 PM RichLorn Excel Worksheet Functions 0 October 28th 04 08:57 PM

All times are GMT +1. The time now is 04:20 PM.