Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I have about 2000 data on Excel file and many have duplicate values (numberic) in the cell on Column A. Is there a function that will look for duplicate and delete (or highlight) all, but one of the duplicate value. For example: row 50-59 on column A has a value of 50006420, I like the macro to delete row 51-59. Thanks for any help. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If the data is sorted, then in B2 you can enter this formula:
=IF(A2 = A1, "duplicate","unique") and copy down to the bottom of your range of A values. Then you can use autofilter on column B to select "duplicate". Highlight all the visible rows and Edit | Delete Row. Then select All in the filter drop-down. However, the same thing can be achieved by Advanced Filter - highlight the data in column A (works better with a header), then Data | Filter | Advanced Filter. Your range is already defined, tick Unique Records only and decide if you want to filter in place or move the unique records to another location (specify where). Then click OK and the job's done. Hope this helps. Pete |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I use the vlookup function to return a sum of the values? | Excel Discussion (Misc queries) | |||
Excel option to store trendline's coefficients in cells for use | Charts and Charting in Excel | |||
how to use the Prob function in a list of averages to find the le | Excel Worksheet Functions | |||
find duplicate entries and delete them? | Excel Worksheet Functions | |||
need to save values from a function before it changes | Excel Worksheet Functions |