Jump to content

Need some help deleting duplicate values in Excel

Go to solution Solved by mariushm,

temp1.gif.9e133d71d79070e1362b1197d43f5494.gif

 

 

Sort your table by the phone column

Add a column to the right of your data

Put a formula     = IF (  phonecolumn[ROWNUMBER]  <> phonecolumn[ROWNUMBER-1] , 0 ,1 )

Double click cell corner so that the formula is copy pasted / propagated all the way to the last row

 

Now the cells will have 1 if the phone number is identical to previous row's phone number.

 

So now you can enable filter on the top row (go on row, press Ctrl+Shift + L  or use the menu option)  and you can select only the rows with 1  (as in rows that have same number as previous row)

Now you can select the phone numbers (drag mouse over the cells or Shift + down / up ) and hit DELETE to erase cells

 

Disable filter to see your whole table again.

 

 

Hello, I have an excel sheet with duplicate phone numbers in a specific column. I want to keep the first number and delete the rest of it's duplicates without deleting it's rows or shifting up any of the cells. Any guidance to create a formula or some other method if any would be very helpful. Thanks.

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Shammikit said:

This deletes entire rows 

Step 1 says to select the range of cells that has the dupes. 

Link to comment
Share on other sites

Link to post
Share on other sites

temp1.gif.9e133d71d79070e1362b1197d43f5494.gif

 

 

Sort your table by the phone column

Add a column to the right of your data

Put a formula     = IF (  phonecolumn[ROWNUMBER]  <> phonecolumn[ROWNUMBER-1] , 0 ,1 )

Double click cell corner so that the formula is copy pasted / propagated all the way to the last row

 

Now the cells will have 1 if the phone number is identical to previous row's phone number.

 

So now you can enable filter on the top row (go on row, press Ctrl+Shift + L  or use the menu option)  and you can select only the rows with 1  (as in rows that have same number as previous row)

Now you can select the phone numbers (drag mouse over the cells or Shift + down / up ) and hit DELETE to erase cells

 

Disable filter to see your whole table again.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, mariushm said:

temp1.gif.9e133d71d79070e1362b1197d43f5494.gif

 

 

Sort your table by the phone column

Add a column to the right of your data

Put a formula     = IF (  phonecolumn[ROWNUMBER]  <> phonecolumn[ROWNUMBER-1] , 0 ,1 )

Double click cell corner so that the formula is copy pasted / propagated all the way to the last row

 

Now the cells will have 1 if the phone number is identical to previous row's phone number.

 

So now you can enable filter on the top row (go on row, press Ctrl+Shift + L  or use the menu option)  and you can select only the rows with 1  (as in rows that have same number as previous row)

Now you can select the phone numbers (drag mouse over the cells or Shift + down / up ) and hit DELETE to erase cells

 

Disable filter to see your whole table again.

 

 

Thanks

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×