Log in  \/ 
Register  \/ 


How to count same or duplicate values only once in a column?

Supposing, some duplicate values are populated in a column of your worksheet, now, you need to count the same or duplicate values only once which means to count only the unique values as following screenshot shown. How could you solve this task in Excel?

Count same or duplicate values only once in a column with formulas

Count same or duplicate values only once in a column with an easy feature

Count same or duplicate values only once in a column with formulas

Count the same values only once without case sensitive

To count the same values only once in a column, please apply the following formula into a blank cell where you want to output the result:


And then, press Enter key to get the result, see screenshot:

Count the same values only once with case sensitive

To count the same values only once with case sensitive, please apply the below formula:

=SUM(IFERROR(1/IF(A2:A15<>"", FREQUENCY(IF(EXACT(A2:A15, TRANSPOSE(A2:A15)), MATCH(ROW(A2:A15), ROW(A2:A15)), ""), MATCH(ROW(A2:A15), ROW(A2:A15))), 0), 0))

And then, press Ctrl + Shift + Enter keys together to get the correct result, see screenshot:

Note: In the above formulas, A2:A15 is the data range that you want to count the duplicates only once.

Count same or duplicate values only once in a column with an easy feature

With Kutools for Excel’s Count cells with unique values (include the first duplicate) utility, you can quickly count the number of the same values only once in a column without remebering any formulas.

Note:To apply this Count cells with unique values (include the first duplicate), firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily.

After installing Kutools for Excel, please do as this:

1. Click a cell where you want to put the result.

2. Click Kutools > Formula Helper > Formula Helper, see screenshot:

3. In the Formulas Helper dialog box:

  • Select Statistical option from the Formula Type drop down list;
  • Then choose Count cells with unique values (include the first duplicate) from the Choose a fromula list box;
  • In the Arguments input section, select the list of cells that you want to count unique values.

4. Then click Ok button, the duplicate values which only appear only once has been calculated at once, see screenshot:

Download and free trial Kutools for Excel Now !

More relative articles:

  • Count Unique Values Based On Another Column
  • It may be common for us to count unique values in only one column, but, in this article, I will talk about how to count unique values based on another column. For example, I have the following two columns data, now, I need count the unique names in column B based on the content of column A to get the following result.
  • Countif With Multiple Criteria In Excel
  • In Excel, COUNTIF function may help us to calculate the number of a certain value in a list. But sometimes, we need to use multiple criteria for counting, this will be more complex, today, I will talk about some items for counting with multiple criteria.
  • Countif A Specific Value Across Multiple Worksheets
  • Supposing, I have multiple worksheets which contains following data, and now, I want to get the number of occurrence of a specific value “Excel” from theses worksheets. How could I count a specific values across multiple worksheet?

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
Say something here...
symbols left.
You are guest
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.