#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Counting Numbers

Hello All,

Woundering if you can help me?

I've created i table with numbers in rangeing from 1 - 50
the table may have 1 repeated in it 10 times and 23 repeated 6 times
and so on

what i would like to do in another cell is have a formula that counts
how many times the Number 1 is Present and so on for each number. is
there a way i can do this?

Regard s

Danny

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Counting Numbers

The easiest thing to do is to use a Pivot Table. You can list each unique
number and how many times it occurs. This technique will work with words as
well as numbers. If you are not familiar with pivot tables, they are
well-explained in:

http://peltiertech.com/Excel/Pivots/pivottables.htm

The alternative is using COUNTIF(), but this requires a separate formula for
each value.
--
Gary's Student


"Funkydan" wrote:

Hello All,

Woundering if you can help me?

I've created i table with numbers in rangeing from 1 - 50
the table may have 1 repeated in it 10 times and 23 repeated 6 times
and so on

what i would like to do in another cell is have a formula that counts
how many times the Number 1 is Present and so on for each number. is
there a way i can do this?

Regard s

Danny


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default Counting Numbers

s

Set up a table with the numbers 1-50 in, say in J1:J50. (I am making a
presumption your data table is in A1:A1000, just change the range in the
formula to suit)

In K1 enter

=COUNTIF($A$1:$A$1000,J1)

and copy down to J50

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

HIS
www.nickhodge.co.uk

"Funkydan" wrote in message
oups.com...
Hello All,

Woundering if you can help me?

I've created i table with numbers in rangeing from 1 - 50
the table may have 1 repeated in it 10 times and 23 repeated 6 times
and so on

what i would like to do in another cell is have a formula that counts
how many times the Number 1 is Present and so on for each number. is
there a way i can do this?

Regard s

Danny



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Counting Numbers

Thank you Very Much for the Information it worked like a treat,

My data is in Cell C5 to G36 so all i did was use the formula
=COUNTIF(C5:G36,1)
And it gave me total of how many 1's there was, so i copied the formula
and had ,2 and so on,

Is the there a quick way a copying the formula for each number, cause
when i use the copy drop down, it changed the Formula to
=COUNTIF(C6:G37,1) THEN THE NEXT ONE IS -COUNTIF(C7:G38,1) ?

Nick Hodge wrote:

s

Set up a table with the numbers 1-50 in, say in J1:J50. (I am making a
presumption your data table is in A1:A1000, just change the range in the
formula to suit)

In K1 enter

=COUNTIF($A$1:$A$1000,J1)

and copy down to J50

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

HIS
www.nickhodge.co.uk

"Funkydan" wrote in message
oups.com...
Hello All,

Woundering if you can help me?

I've created i table with numbers in rangeing from 1 - 50
the table may have 1 repeated in it 10 times and 23 repeated 6 times
and so on

what i would like to do in another cell is have a formula that counts
how many times the Number 1 is Present and so on for each number. is
there a way i can do this?

Regard s

Danny


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
Is this possible ??? DB Excel Discussion (Misc queries) 12 August 26th 06 12:19 AM
Counting Unique Part Numbers In A Range BigH Excel Worksheet Functions 2 December 9th 05 07:09 PM
Checking Winning Numbers in the Lottery. Ann Excel Discussion (Misc queries) 4 May 18th 05 10:55 AM
Counting numbers in a column without including others kim11757 Excel Worksheet Functions 1 January 6th 05 10:14 PM
Counting multiple numbers in one cell clubin Excel Worksheet Functions 6 December 8th 04 02:47 PM


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