Check 2 Columns for Positions and Departments on One Worksheet and Delete Instances Found On another

marcweiss

New Member
Joined
Oct 10, 2011
Messages
11
I have a workbook with multiple sheets. I need to check the "Requirements" sheet Columns A and B for matches on the Risk Mgmt sheet in the same columns A and B, if these entries are found on the Requirements sheet delete entire row. No actions need to occur with the data on the Risk Mgmt sheet.:confused::confused::confused:

Will be eternally grateful...I'm an Excel Novice so as specific of instructions as possible would be great.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Assume you mean:

Requirements Sheet Contains:
Column A - Job Title Column B -
RN I Pharmacy
RN II Anesthesiology
RN III Wound Care

Risk Management Sheet Contains:
Column A - Job Title Column B
RN I Pharmacy
RN II Anesthesiology
RN III Wound Care


If Data exists on both sheets (and it does....Thousands of rows) Delete all existence from Requirements Sheet - The entire row, not just the column.


Couldn't figure out how to attach the xls or I would have done that too.
 
Upvote 0
IF(ISERROR(VLOOKUP(Requirements!A1,RiskManagement!A:A,1,0)),RiskManagement!A1,"")
into A1 in a new list and expand.

IF(ISERROR(VLOOKUP(RiskManagement!A1,Requirements!A:A,1,0)),Requirements!A1,"")
into B1 in the new list and expand.

Column A gives you all titles from Requirements not found in RiskManagements, Column B all titles from RiskManagements not found in Requirements. Next what you want to do is to merge these two columns into one and remove blank rows. You can google some formulas for that OR copy/paste data from column B below data in column A, mark the whole column, insert as a table and display without blanks (and zeros). This selection gives you all unique titles and can be copied in a new list.
 
Last edited:
Upvote 0
Regresss thanks again and i'm sure its just that I'm not being very clear. I don't need to do anything with the Risk Mgmt sheet...I just inserted that page as a reference sheet. I need to be able to compare the Requirements sheet with it for matches in Column A & B.

So IF Risk Mgmt Column A & B = Requirements Column A & B THEN Delete row in Requirements

Does that help? I think that explains it better.
 
Upvote 0

Forum statistics

Threads
1,207,011
Messages
6,076,145
Members
446,187
Latest member
LMill

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top