Home |
Search |
Today's Posts |
#1
|
|||
|
|||
counting only specific numbers in column
I have a column with ranges from A:1 thru A:50. I need to be able to count
how many times a specific number is used within all those ranges.. What formula could I use to get this answer? Please see example below: Column 2 2 2 2 3 3 2 6 Number of times 2 used - 5 times. |
#2
|
|||
|
|||
=COUNTIF(A1:A50,2)
Regards, Peo Sjoblom "Alex C" wrote: I have a column with ranges from A:1 thru A:50. I need to be able to count how many times a specific number is used within all those ranges.. What formula could I use to get this answer? Please see example below: Column 2 2 2 2 3 3 2 6 Number of times 2 used - 5 times. |
#3
|
|||
|
|||
Hi Alex,
Use COUNTIF see John Walkenbach's page: Cell Counting Techniques http://www.j-walk.com/ss/excel/tips/tip52.htm =COUNTIF(Range("A:A",2) =COUNTIF(Range("A1:A50",2) --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Alex C" <Alex wrote in message ... I have a column with ranges from A:1 thru A:50. I need to be able to count how many times a specific number is used within all those ranges.. What formula could I use to get this answer? Please see example below: Column 2 2 2 2 3 3 2 6 Number of times 2 used - 5 times. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Match Last Occurrence of two numbers and Return Date | Excel Worksheet Functions | |||
Count and Sum Total occurrances of two specific numbers | Excel Worksheet Functions | |||
Finding specific word in column | Excel Worksheet Functions | |||
add only positive numbers and avg in a column | Excel Worksheet Functions | |||
I cannot get a column of numbers to sum, why? | Excel Discussion (Misc queries) |