ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel 2007: Delete Duplicates (https://www.excelbanter.com/excel-programming/430088-excel-2007-delete-duplicates.html)

John Keith

Excel 2007: Delete Duplicates
 
Excel 2007 has a wonderful Delete Duplicate Rows function.

But I want to hide the duplicate rows rather than delete them. It
appears there is no way to change the behavior of this function from
delete to hide.

What is my best option/method to hide rows with duplicate data?

I only care about checking for duplicate data in one column.


John Keith


John Keith

Excel 2007: Delete Duplicates
 
What is my best option/method to hide rows with duplicate data?

I only care about checking for duplicate data in one column.

I think I have a very simple solution.

I have a main loop that goes through every row and within the main
loop I have a second loop that looks at each row below the current row
and if the data in the criteria cell is the same then I just hide the
row.

It seems ot work but it will take some close review to make sure it's
doing what I want it to.


John Keith



All times are GMT +1. The time now is 05:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com