<<Convert Excel Spreadsheets to Web Pages | Trading Software That Operates Within Excel | Convert Excel, Access & Other Databases | Merge Excel Files>>
Ozgrid, Experts in Microsoft Excel Spreadsheets

Count of Each Item in a List

| | Information Helpful? Why Not Donate.

TRY OUT: Smart-VBA | Code-VBA | Analyzer-XL | Downloader-XL | Trader-XL| More Free Downloads.. Best Value: Finance Templates Bundle

Single Column List, Count of Data & Create Unique List

Count of Each Item in a List/Single Column

See Also: Count of Items in List VBA ||Count Only One Occurrence || Excel Subtotals ||Making the SUBTOTAL Function Dynamic ||Bold Excel Subtotals Automatically ||Sum Every Nth Cell || Count of Each Item in a List ||Excel Pivot Tables

With the aid of Advanced Filter and the COUNTIF we can get a count of each item that appears in a list. Let's say the list currently resides in A1:A100, with A1 being a heading and many items appearing more than once. We first need to create ourselves a list which has only one occurrence of each item.

Create a Unique Item List

1) Select A1:A100 and then go to Data>Filter>Advanced Filter

2) Ensure "Action" is set to Copy list to another location

3) "List Range" is $A$1:$A$100 and "Criteria Range" is blank.

4) "Copy to" is $F$1 (or any single cell in row 1).

5) Check the "Unique  records only" checkbox and then click "Ok".

Now, Starting from F1 (or the cell you chose), you have a list containing only one occurrence of each item in the list.

Enter the COUNTIF Formula

Now we have the unique list, we can now count how many times each item appears in our original list in A1:A100. So in F2 (F1 is a heading and can read "Count") enter the COUNTIF Formula as shown below

=COUNTIF($A$2:$A$100,$F2)

Now click the Fill Handle of F2 while it's selected, or copy down manually. Note the use of the absolute range $A$2:$A$100 and the absolute column and relative row of $F2.

See Also: Count of Items in List VBA ||Count Only One Occurrence

Excel Dashboard Reports & Excel Dashboard Charts 50% Off Become an ExcelUser Affiliate & Earn Money

Special! Free Choice of Complete Excel Training Course OR Excel Add-ins Collection on all purchases totaling over $64.00. ALLpurchases totaling over $150.00 gets you BOTH! Purchases MUST be made via this site. Send payment proof to [email protected] 31 days after purchase date.


Instant Download and Money Back Guarantee on Most Software

Try out:Analyzer XL |Downloader XL |Smart VBA |Trader XL Pro (best value) |ConsoXL | MergeXL | O2OLAP for Excel | MORE>>

Excel Trader PackageTechnical Analysis in Excel With $139.00 of FREE software!

Microsoft � and Microsoft Excel � are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft

Some of our more popular products are below...
Convert Excel Spreadsheets To Webpages | Trading In Excel | Construction Estimators | Finance Templates & Add-ins Bundle | Code-VBA | Smart-VBA | Print-VBA | Excel Data Manipulation & Analysis | Convert MS Office Applications To...... | Analyzer Excel | Downloader Excel | MSSQL Migration Toolkit | Monte Carlo Add-in | Excel Costing Templates