Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How do I count the number of each number in a column?

I have columns containing numbers 1-6 (randomly). At the bottom, I do not
want to total, rather I wish to count up how many 1s, how many 2s, how many
3s etc.

I know there must be a way, but I can't see the wood for the trees!

Any help will be gratefully accepted.

Confused of Lichfield!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default How do I count the number of each number in a column?

=COUNTIF(A2:A10,2)

to count 2's as long as they are the only number in the cell

--


Regards,


Peo Sjoblom

"Shelby" wrote in message
...
I have columns containing numbers 1-6 (randomly). At the bottom, I do not
want to total, rather I wish to count up how many 1s, how many 2s, how
many
3s etc.

I know there must be a way, but I can't see the wood for the trees!

Any help will be gratefully accepted.

Confused of Lichfield!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How do I count the number of each number in a column?

Put 1 to 6 in cells A101 to A106 (say), then in B101 you can put this
formula:

=COUNTIF(B$1:B$100,$A101)

You may need to adjust the ranges and cell references to suit your
data, but you can then copy the formula into B102:B106, and then copy
these 6 formulae across to other columns.

Hope this helps.

Pete

On Sep 27, 12:11*am, Shelby wrote:
I have columns containing numbers 1-6 (randomly). At the bottom, I do not
want to total, rather I wish to count up how many 1s, how many 2s, how many
3s etc.

I know there must be a way, but I can't see the wood for the trees!

Any help will be gratefully accepted.

Confused of Lichfield!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How do I count the number of each number in a column?

Thank you so much...very useful!

"Peo Sjoblom" wrote:

=COUNTIF(A2:A10,2)

to count 2's as long as they are the only number in the cell

--


Regards,


Peo Sjoblom

"Shelby" wrote in message
...
I have columns containing numbers 1-6 (randomly). At the bottom, I do not
want to total, rather I wish to count up how many 1s, how many 2s, how
many
3s etc.

I know there must be a way, but I can't see the wood for the trees!

Any help will be gratefully accepted.

Confused of Lichfield!




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How do I count the number of each number in a column?

So kind of you to help out...just the job!

"Pete_UK" wrote:

Put 1 to 6 in cells A101 to A106 (say), then in B101 you can put this
formula:

=COUNTIF(B$1:B$100,$A101)

You may need to adjust the ranges and cell references to suit your
data, but you can then copy the formula into B102:B106, and then copy
these 6 formulae across to other columns.

Hope this helps.

Pete

On Sep 27, 12:11 am, Shelby wrote:
I have columns containing numbers 1-6 (randomly). At the bottom, I do not
want to total, rather I wish to count up how many 1s, how many 2s, how many
3s etc.

I know there must be a way, but I can't see the wood for the trees!

Any help will be gratefully accepted.

Confused of Lichfield!





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How do I count the number of each number in a column?

Is there also a way that I could find out how many of the numbers are more
than 2, more than 3, more than 4, etc? Thanks, Shelby

"Peo Sjoblom" wrote:

=COUNTIF(A2:A10,2)

to count 2's as long as they are the only number in the cell

--


Regards,


Peo Sjoblom

"Shelby" wrote in message
...
I have columns containing numbers 1-6 (randomly). At the bottom, I do not
want to total, rather I wish to count up how many 1s, how many 2s, how
many
3s etc.

I know there must be a way, but I can't see the wood for the trees!

Any help will be gratefully accepted.

Confused of Lichfield!




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default How do I count the number of each number in a column?

Try looking at Excel help for the COUNTIF function.
--
David Biddulph

"Shelby" wrote in message
...
Is there also a way that I could find out how many of the numbers are more
than 2, more than 3, more than 4, etc? Thanks, Shelby

"Peo Sjoblom" wrote:

=COUNTIF(A2:A10,2)

to count 2's as long as they are the only number in the cell

--


Regards,


Peo Sjoblom

"Shelby" wrote in message
...
I have columns containing numbers 1-6 (randomly). At the bottom, I do
not
want to total, rather I wish to count up how many 1s, how many 2s, how
many
3s etc.

I know there must be a way, but I can't see the wood for the trees!

Any help will be gratefully accepted.

Confused of Lichfield!






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
Count to find the number of 100% 90% 80% in a column % Count Excel Discussion (Misc queries) 7 June 3rd 08 10:24 PM
Count number of cells and total in one column, based on another column suffix Pierre Excel Worksheet Functions 5 October 31st 07 12:28 AM
Count the number of names in a column James Excel Worksheet Functions 9 August 13th 07 10:48 PM
count number of text in a column Daniel_ITSM[_2_] Excel Discussion (Misc queries) 7 March 7th 07 08:05 PM
How can I count the number of entries in a column? Dave Hacker New Users to Excel 3 November 24th 05 08:48 PM


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