Note: The other languages of the website are Google-translated. Back to English
English English

How to count unique/duplicate dates in an Excel column?

In a list of dates with some duplicate dates and unique dates, and for some purposes, you want to count the unique dates or the duplicates dates only in the list, how could you quickly count them instead of manual counting? This tutorial can tell you the tricks.

Count unique dates in a column with formula

Count and color unique/duplicate date in a column with Kutools for Excel

arrow blue right bubble Count unique dates in a column with formula

In Excel, there is a formula can help you to count all unique dates including the first duplicate ones in a list.

Select a blank cell, for instance, B2, and type this formula =SUMPRODUCT(1/COUNTIF(A2:A22,A2:A22)) in to it, and press Enter, you can get the counting result.

doc count unique date 1
doc count unique date 2

In above formula, A2:A22 is the range you want to count unique dates from, you can change it as you need.

arrow blue right bubble Count and color unique/duplicate dates in a column with Kutools for Excel

If you want to count and color the unique dates excluding the first duplicate ones, or count the duplicate dates, you can use Kutools for Excel’s Select Duplicate & Unique Cells utility to help you solve it.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After free installing Kutools for Excel, please do as below:

1. Select the range you want to count unique or duplicate dates, and click Kutools > Select > Select Duplicate & Unique Cells. See screenshot:

doc count unique date 3

2. In the Select Duplicate & Unique Cells dialog, check the option as you need in Rule section, and then if you want to color the selected cells, check Fill backcolor or Fill font color checkbox to select a color as you need in Processing of results section. See screenshot:

doc count unique date 4

3. Click Ok, and a dialog pops out to tell you the counting result, and at the same time, the selected cells are colored. See screenshot:

doc count unique date 5

Click here to free download Kutools for Excel

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (1)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks for this wonderful sharing, the formula at the beginning of this page worked for me! Cheers!
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations