How to remove duplicates in excel without shifting cells
Tutor 5 (87 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To remove duplicates in Excel without shifting cells, you can use the conditional formatting and filtering method instead of directly deleting rows. This method highlights or filters duplicates so you can remove them safely while keeping the remaining data in place.
Method 1: Using Conditional Formatting
Select the range of cells where you want to identify duplicates.
Go to the Home tab.
Click Conditional Formatting → Highlight Cells Rules → Duplicate Values.
Choose a formatting style to highlight duplicate cells.
Click OK.
Now, duplicate cells are highlighted. You can manually clear the highlighted duplicates without affecting other cells.
Method 2: Using a Formula to Mark Duplicates
In a new column, enter the formula to identify duplicates. For example, if your data is in column A:
=IF(COUNTIF(A:A, A1)>1, "Duplicate", "Unique")
Drag the formula down to cover the entire range.
Filter the new column by "Duplicate".
Select only the duplicate rows and clear the contents (press Delete) instead of deleting the entire row.
This preserves the structure of the spreadsheet without shifting any cells.
Method 3: Using the Remove Duplicates Tool Safely
Select the range of cells.
Go to the Data tab.
Click Remove Duplicates.
In the dialog box, select only the columns you want to check for duplicates.
Click OK.
Excel will remove duplicates only within the selected range. The surrounding cells remain unaffected, and the sheet layout does not shift.
Notes
Using Delete → Clear Contents is preferable to remove duplicates in place because it avoids shifting cells.
Formulas and conditional formatting can help track duplicates before removing them.
This method works for both Windows and Mac versions of Excel, but on Mac, the tabs may appear as Home → Conditional Formatting and Data → Remove Duplicates similarly.
This approach ensures duplicates are removed without disturbing your spreadsheet layout or shifting any other data.
. Was this Helpful?Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to show duplicates in red
Answers · 1
How to apply duplicate conditional formatting rule
Answers · 1
How to duplicate conditional formatting excel
Answers · 1
What is excel conditional formatting duplicates
Answers · 1