VBA - Deleting rows using another list.

gd6noob

Board Regular
Joined
Oct 20, 2017
Messages
170
Office Version
  1. 2016
Platform
  1. Windows
Hi everyone.

Just wanted to see if someone can help me code something which im unable to figure out.

I have a set of requirements

Each location has their own requirements. i.e. DOI3 only Tier 1 and the following shifts, then DYT6, Tier 1 and the following shifts.
HRRC Canada Shift Differential Tool.xlsb
RS
12DOI3 - DS (Brampton, ON, CA)DYT6- DS (Ottawa, ON, CA)
13Tier 1Tier 1
14NA5C0120NA5C0120
15NB1C0120NB1C0120
16NF6C0120NF6C0120
17NH3C0120NH3C0120
18NK7C0120NK7C0120
19NL4C0120NL4C0120
20NN2C0120NN2C0120
21DG6C0500
22
23DOI3 - DS (Brampton, ON, CA)DYT6- DS (Ottawa, ON, CA)
24Tier 3Tier 3
25AAACAAAC
26NB1C0000NK2C2330
27NN2C0200NL4C2330
28NA5C0000NA5C0240
29NA5C0120NB1C0240
Dashboard

If this layout above isnt ideal, it can be re-arranged.

The list that needs to be delete from is below
HRRC Canada Shift Differential Tool.xlsb
ABCDEFGHIJKLMNOPQRSTUV
1Location DescSupervisor User ID Supervisor NameEmp NameEmp User IDEmp IDEmp ClassBarcode Emp IDEmp TypeJob TitleJob CodeJob LevelFT/PTLast Hire DateShift PatternShift Pattern DescShift DifferentialFCML AreaStandard HoursCost CenterDepartment Nameregulatory_region
2DYT6- DS (Ottawa, ON, CA)Tier 3SB3C1300
3DYT6- DS (Ottawa, ON, CA)Tier 1NB1C0120
4DOI3 - DS (Brampton, ON, CA)Tier 1NB1C0120
5DOI3 - DS (Brampton, ON, CA)Tier 1NB1C0120
QS Roster
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,214,872
Messages
6,122,025
Members
449,060
Latest member
LinusJE

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