Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


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.

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.

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 Excel add-ins, free to try with no limitation in 60 days.

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

doc KTE

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.