Hi,
I need to write a formula that identifies any rows where the Contract # and Order # columns are duplicates, then deletes both duplicate rows. Thanks
Michael
Hi,
I need to write a formula that identifies any rows where the Contract # and Order # columns are duplicates, then deletes both duplicate rows. Thanks
Michael
I think you need to write a macro. Start by switching on record macro, highlight a convenient blank row, delete it and stop the macro. You now have the code to delete a specific row.
Now write some code that starts at row 1 and compares the 2 cells in question. If they are equal, delete the row. If they are not, do nothing and move to the next row.
checks if A1=A2Please Login or Register to view this content.
the first 1 in each cells() needs to be count
you should be able to tailor to your situationPlease Login or Register to view this content.
Last edited by VBA Noob; 02-06-2008 at 09:10 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks