Find occurrence count of a number in Excel

0 votes

I have a list of Excel data set up like this.

Items
1, 11, 3
4, 5, 6
7, 9, 12
15, 13, 4
7, 8, 9, 10, 1
14
1, 3, 7, 9

I want to make a count of each occurring number so that I end up with a result like this:

Items   A2 Column
1           2
2           0
3           2
4           2
5           1

And so on. Are there any formulas I can use to count the frequency of each number? I've tried using the COUNTIF function, but the formula will often come out as 0 because it can't read each number separately in the cells. Using a Pivot Table created the same results as well.

Oct 30 in Others by Kithuzzz
• 20,660 points
43 views

1 answer to this question.

0 votes

First split those integer values into their own cell: Data>>TextToColumns>>Delimited>>Comma>>OK

Second set up a table where 1 through whatever is listed in the rows, then you can use countif() to get the counts.

=COUNTIF($A$2:$E$8,A14)

A14 is the first cell in your list of cells numbered from 1 to whatever, and $A$2:$E$8 is the set of cells produced by Text To Columns. You will have what you need if you copy it down to each row in your list of 1 to whatever.

answered Oct 30 by narikkadan
• 37,660 points

Related Questions In Others

0 votes
1 answer

Get number of columns of a particular row in given excel using Java

Use: int noOfColumns = sh.getRow(0).getPhysicalNumberOfCells(); Or int noOfColumns = sh.getRow(0).getLastCellNum(); There ...READ MORE

answered Oct 24 in Others by narikkadan
• 37,660 points
105 views
0 votes
1 answer

Calculate the number of days between a cell and today in excel?

Use the DATEDIF function when you want ...READ MORE

answered Nov 8 in Others by gaurav
• 22,040 points
29 views
0 votes
1 answer

How to get rid of a #value error in Excel?

Changing the format to "Number" doesn't actually ...READ MORE

answered Oct 3 in Others by narikkadan
• 37,660 points
73 views
0 votes
1 answer

In Excel, how to find a average from selected cells

If one has the dynamic array formula ...READ MORE

answered Oct 9 in Others by narikkadan
• 37,660 points
47 views
0 votes
1 answer

Calculate Birthdate from an age using y,m,d in Excel

Hello, yes u can find your birthdate using ...READ MORE

answered Feb 16 in Others by Edureka
• 13,640 points
137 views
0 votes
1 answer

Calculate Birthdate from an age using y,m,d in Excel

Hi To Calculate the date, we can ...READ MORE

answered Feb 16 in Others by Edureka
• 13,640 points
230 views
0 votes
0 answers

Convert Rows to Columns with values in Excel using custom format

1 I having a Excel sheet with 1 ...READ MORE

Feb 17 in Others by Edureka
• 13,640 points
101 views
0 votes
1 answer

IF - ELSE IF - ELSE Structure in Excel

In this case, you can use nested ...READ MORE

answered Feb 18 in Others by gaurav
• 22,040 points
68 views
0 votes
1 answer

Is there a maximum number of formula fields allowed in Excel (2010)

See http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx for limits on specs it doesn't indicate ...READ MORE

answered Sep 30 in Others by narikkadan
• 37,660 points
53 views
0 votes
1 answer

Excel - Make a graph that shows number of occurrences of each value in a column

There is probably a better way to ...READ MORE

answered Oct 21 in Others by narikkadan
• 37,660 points
64 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP