

Then you just need to remove theses selected rows, click Home > Delete > Delete Sheet Rows, see screenshot:ħ. And then click OK to close theses dialogs, and all the unique value rows have been selected, see screenshot:Ħ. Then click OK button, and a prompt box will pop out to remind you how many rows have been selected:ĥ.

In the Select Duplicate & Unique Cells dialog box, select Unique values only under the Rule section, and check Select entire rows option, see screenshot:Ĥ. Then click Kutools > Select > Select Duplicate & Unique Cells, see screenshot:ģ. Select the data range that you want to use.Ģ.
#How to remove underline in excel free#
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.Īfter installing Kutools for Excel, please do as follows:ġ.

With above method, there are so many steps needed to be followed, if you have a handy tool – Kutools for Excel, it may save you a lot of time. At last, you can delete the content of helper column B as you want. And only the visible rows are deleted at once, then you need to cancel the filter by clicking Data > Filter again to disable the Filter function, and you can see all the unique value rows have been removed, and only leave the duplicate records, see screenshot:ĩ. And then you need to remove these visible rows only, put the cursor at the selected rows, right click to choose Delete Row from the context menu, see screenshot:Ĩ. Then click OK to close the dialog box, and only the visible rows have been selected as following screenshot shown:ħ. After showing only the non-duplicate records, select the entire rows of these visible rows, and then click Home > Find & Select > Go To Special, in the Go To Special dialog box, select Visible cells only option, see screenshots:Ħ. Click the filter drop-down in the new helper column B and uncheck FALSE option to just show the unique values of column A, and then click OK button, see screenshot:ĥ. Then select the data range and click Data > Filter, see screenshot:Ĥ. And then drag the fill handle down to the cells that you want to apply this formula, False indicates the duplicate values and True stands for the unique values, see screenshot:ģ. Tip: In the above formula, A2:A15 is the column range you want to remove the unique values, you can change it as you need.Ģ. Enter this formula =COUNTIF($A$2:$A$15, A2)=1 into a blank cell besides your data, such as cell B2, see screenshot: To remove the non-duplicate rows, you need to create a formula helper column first, and then filter all the unique values based on your helper column, finally, delete the filtered unique values. Remove everything but duplicate rows with Kutools for Excel Remove everything but duplicate rows with a helper column
#How to remove underline in excel how to#
Do you have any good ideas to solve this problem in Excel? In this article, I will talk about how to quickly and easily remove all but keeping the duplicate rows in Excel. Maybe, there are some duplicate values in a column of your worksheet, and now, you want to remove non-duplicate values and keep only the duplicate records in the column.
