Delete Duplicate Cells in Excel Across Tabs

Trying to figure out how to delete duplicate cells in excel across tabs.

Ie. For a keyword “Fish Burger Deluxe” in tab “Tomato”, search all the other tabs in the workbook and delete the keyword “Fish Burger Deluxe” in all other tabs, except tab “Tomato”

 

 

Delete duplicate cells in excel across tabs
Delete duplicate cells in excel across tabs

 

First, to organize the keywords into one location (Cell “AA”) and show which tabs had duplicates, and how many, I used this YouTube video as a guide.

Entire Task Broken Down into Individual Actions (With Links To Guides):

  1. Select cell – (“Fish Burger Deluxe”)
  2. Copy cell data into variable (Define as a variable)
  3. Go to next tab
    1. Or search copied data across other tabs
      1. Resource 1: VBA: Using a Find-like function across all workbook sheets without looping
      2. Resource 2: Find data in specific cells in multiple worksheets using VBA
      3. Resource 3: Referring to other worksheets or workbooks in an excel macro
      4. Resource 4: VBA Find function not working with variable
  4. Search that tab for copied data
  5. Delete entire row (Or individual cell with keyword “Fish Burger Deluxe”, whichever is easier)
  6. Repeat Step 3 until all tabs have been searched (besides first tab that contains keyword, “Tomato” in this case) and duplicates have been deleted

 

Resources:

Link to thread on this problem on Stackoverflow.com

 

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *