Count based on criteria

Blessy Clara

Board Regular
Joined
Mar 28, 2010
Messages
201
Hi All,

I have a AC_ID in column A, which contains multiple records for a given AC_ID, I need help to count the number of records per ID

Example
AC_IDRecords
256Record1
256Record2
256Record3
40435Record4
40435Record5
40435Record6
5208Record7
362Record8
362Record9

<tbody>
</tbody>

I require a table calculated as this
AC_IDCount
404353
52081
3622
14878
548985
2563

<tbody>
</tbody>

To calculate Number of records per ID Number


Thank you
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Book1
AB
1AC_IDRecords
2256Record1
3256Record2
4256Record3
540435Record4
640435Record5
740435Record6
85208Record7
9362Record8
10362Record9
11
12
13
14
15AC_IDCount
16404353
1752081
183622
1914870
2054890
212563
Sheet1
Cell Formulas
RangeFormula
B16=COUNTIF($A$2:$A$10,A16)
B17=COUNTIF($A$2:$A$10,A17)
B18=COUNTIF($A$2:$A$10,A18)
B19=COUNTIF($A$2:$A$10,A19)
B20=COUNTIF($A$2:$A$10,A20)
B21=COUNTIF($A$2:$A$10,A21)
 
Upvote 0

Forum statistics

Threads
1,215,831
Messages
6,127,146
Members
449,364
Latest member
AlienSx

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top