Remove different rows in 2 sheets

MaxWol

New Member
Joined
Oct 10, 2011
Messages
1
Hi all,

I have two sheets.
Sheet 1 has 73.619 rows and sheet 2 has 41.470 rows.
The values of column A in sheet 2 appear randomly in column A of sheet 1.

I want to do 2 things:

1.
I want to delete all rows in sheet 1 that have a value in column A that can not be found in column A of sheet 2.

2.
I want to know if a value from column A in sheet 2 is similar to a value from column A in sheet 1, the corresponding values of column B are similar as well.



I have already been trying to do this for hours and just don't know what to do anymore.

So every help is greatly appreciated! :)
 

hiker95

Well-known Member
Joined
Apr 8, 2009
Messages
17,647
MaxWol,

Welcome to the MrExcel forum.

What version of Excel are you using?

You will generally get much more help (and faster) in this forum if you can post your small samples (sensitive data scrubbed/removed/changed) (what you have and what you expect to achieve) directly in the forum.

To attach screenshots, see below in my Signature block: Post a screen shot with one of these:

If you are not able to give us screenshots, see below in my Signature block: You can upload your workbook to Box Net, mark the workbook for sharing, and provide us with a link to your workbook.
 

Forum statistics

Threads
1,082,143
Messages
5,363,374
Members
400,731
Latest member
Jackserver

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top