Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
bj
 
Posts: n/a
Default counting similar items in a column

Hi,

I have a spreadsheet with a column of alphanumeric codes. I would like to
automatically count how many times the codes appear in the column. Currently
I'm copying the data into another sheet, sorting it, printing it out and
counting them by hand to build a monthly report. I know there has to be an
easier way.

Your help is appreciated.
bj
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Check out COUNTIF() in XL Help.

In article ,
"bj" wrote:

I have a spreadsheet with a column of alphanumeric codes. I would like to
automatically count how many times the codes appear in the column. Currently
I'm copying the data into another sheet, sorting it, printing it out and
counting them by hand to build a monthly report. I know there has to be an
easier way.

Your help is appreciated.

  #3   Report Post  
RagDyer
 
Posts: n/a
Default

One approach might be to enter a unique list of the codes in say Column A.

Then enter this formula in Column B and copy down as needed:
=COUNTIF($A$1:$A$100,A1)

Another approach, with your *original* column of data in Column A, might be
to enter this formula in an adjoining column and copy down as needed.
=COUNTIF($A$1:A1,A1)
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================




"bj" wrote in message
...
Hi,

I have a spreadsheet with a column of alphanumeric codes. I would like to
automatically count how many times the codes appear in the column.

Currently
I'm copying the data into another sheet, sorting it, printing it out and
counting them by hand to build a monthly report. I know there has to be

an
easier way.

Your help is appreciated.
bj



  #4   Report Post  
DPayne
 
Posts: n/a
Default

It sounds like you might be looking for the CountIf function. This function
has you specify the range of cells in which the criterion might exist, then
the criteria that you are search for (example - look for code A250, the city
of Seattle, or a specific number such as 777).

Here's how this would work. To find the number of times the code 777 exists
in the range D1:D25, in a cell, type =COUNTIF(D1:D25,777).

If this isn't what you are looking for, let us know.

Donna Payne
www.payneconsulting.com
  #5   Report Post  
bj
 
Posts: n/a
Default

from another bj
look at first
the advanced filter
and second
the countif function

Select the data you wish to analyze (column A?)
<data<filters<Advanced filter
[unique data] and select a cell where you have no data under it. (C1)
hit enter

you should now have a sorted list of all of the unique data from column A
in Cell D1 enter
=countif($A:$1:$A:$1000,C1)
and copy down to the bottom of the column C data.



"bj" wrote:

Hi,

I have a spreadsheet with a column of alphanumeric codes. I would like to
automatically count how many times the codes appear in the column. Currently
I'm copying the data into another sheet, sorting it, printing it out and
counting them by hand to build a monthly report. I know there has to be an
easier way.

Your help is appreciated.
bj



  #6   Report Post  
RagDyer
 
Posts: n/a
Default

You mean you're not you?<bg
--
Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit!
-------------------------------------------------------------------

"bj" wrote in message
...
from another bj
look at first
the advanced filter
and second
the countif function

Select the data you wish to analyze (column A?)
<data<filters<Advanced filter
[unique data] and select a cell where you have no data under it. (C1)
hit enter

you should now have a sorted list of all of the unique data from column A
in Cell D1 enter
=countif($A:$1:$A:$1000,C1)
and copy down to the bottom of the column C data.



"bj" wrote:

Hi,

I have a spreadsheet with a column of alphanumeric codes. I would like

to
automatically count how many times the codes appear in the column.

Currently
I'm copying the data into another sheet, sorting it, printing it out and
counting them by hand to build a monthly report. I know there has to be

an
easier way.

Your help is appreciated.
bj



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 to group similar column titles together???? vrk1 Excel Discussion (Misc queries) 2 April 30th 05 12:17 AM
HOW TO SORT A COLUMN THE SAME AS ANOTHER COLUMN WITH SIMILAR CONT. excel sucks!!!! Excel Worksheet Functions 1 March 2nd 05 10:23 PM
Counting numbers in a column without including others kim11757 Excel Worksheet Functions 1 January 6th 05 11:14 PM
How can I sort an entire spreadsheet from a list prod sorter Excel Worksheet Functions 4 November 17th 04 04:43 AM
Copying the contents of a column into a chart Richard Excel Worksheet Functions 1 November 16th 04 03:39 PM


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