Skip to main content

How to find and count duplicate cells/values in a single row in Excel?

Normally Conditional Formatting feature can help Excel users easily find out all duplicates in columns. But how to find duplicate cells/values in rows? This article is talking about finding duplicate cells/values in a single row, and counting number of duplicates in a single row as well in Excel.

Find duplicate cells/values in each row

Find and count duplicate cells/values in a single row

Easily vlookup and returns all/multiple matched values into one cell in Excel

Kutools for Excel’s Advanced Combine Rows feature can help Excel users quickly batch vlookup the unique values in one column, and return all matched values into the same cells in Excel.

ad advanced combine vlookup return multiple values in one cell


arrow blue right bubble Find duplicate cells/values in each row

Actually we can also find duplicate cells or duplicate values in a single row or in each row with Conditional Formatting feature. Please do as follow steps:

1. Select the range that you will find duplicate cells in each row, and click Home > Conditional Formatting > New Rule.

2. In the opening Edit Formatting Rule dialog box, please:

(1) Click to select Use a formula to determine which cells to format in the Select a Rule Type box;

(2) In the Format values where this formula is true box, please enter the formula =AND(ISNUMBER(A1), COUNTIF(1:1,A1)>1).

Note: In above formula, A1 is the first cell of selected range, and 1:1 is the first row of selected range.

(3) Click the Format button.

3. In the opening Format Cells dialog box, please specify the cell formatting as you need, and click the OK button.

In our case, we go to the Fill tab and select a background color in the Background Color section as below screenshot shown:

4. Click the OK button in the Edit Formatting Rule dialog box.

Now you will see all duplicate values/cells are highlighted with specified color in each row. See screenshot:

doc find count duplicate in a row 4


arrow blue right bubble Find and count duplicate cells/values in a single row

The second method will introduce Select Duplicate & Unique Cells utility of Kutools for Excel to find and count duplicate cells/rows in a single row in Excel. Please do as follows:

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

1. Copy the single row that you will find and count duplicates, and then right click a blank cell and select Transpose (T) in the Paste Options section to transpose row to column. See screenshot:

Note: You can’t find out the Transpose (T) in the right-clicking menu in Excel 2007 directly. However, you can click Home > Paste > Transpose to get it. And this way works in all Excel 2007/2010/2013. See above screenshot:

2. Now the row is converted to a list/column, go ahead to click Kutools > Select > Select Duplicate & Unique Cells.

3. In the opening Select Duplicate & Unique Cells dialog box, check Duplicates (Except 1st one) option or All duplicates (Including 1st one) option as you need, and click the Ok button.

Note: It’s optional to check the Fill backcolor option. This Fill backcolor option will highlight all found duplicate cells with specified color.

3. Now a dialog box comes out and shows how many duplicates have been found as below screen shot shown. Click the OK button to close it.

The Select Duplicate & Unique Cells utility of Kutools for Excel is designed to find out all duplicates in selected column/list, and highlight all found duplicate cells or rows as well.

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now


Demo: find and count duplicate cells/values in a single row in Excel

Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

Best Office Productivity Tools

Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations