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

or

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. Full Feature Free Trial 60-day!

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 - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

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 - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


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

In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!



Recommended Productivity Tools for Excel

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: 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!
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.