# Data analysis question

#### bkwheat2

##### New Member
I have a column of numbers. Need to determine, for each value, how many times does it appear in the column.

Any ideas??

### Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Assuming your numbers are in column A

=COUNTIF(A:A,"*N*")

Where N=the criteria you're searching for.

Actually, I'm trying to create a second column that would list each unique value in column A and how many times that value appears in column A

Let me know if this works for you.

Starting in column B1, formula can be inserted and copied down the entire column:

=COUNTIF(A:A,A1)

Use pivot table and set the value to "count"

Replies
1
Views
317
Replies
8
Views
395
Replies
8
Views
121
Replies
0
Views
198
Replies
5
Views
87

1,196,049
Messages
6,013,107
Members
441,748
Latest member
MrBigglesworth

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back