gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
I am in need of code that will compare the data on my tab named "List" to data on my tab named Cost Source
The List tab has three columns Material, ID and Revision. They are in columns B, C and D with the titles listed in Row 15
On the Cost Source tab I have these three columns plus many more. The Material is in Column A, the ID is in Column D and the Revision is in Column E (there headers all start in row 2 and the data starts in row 3).
If the row on the Cost Source tab does not have a Match (for all three columns on the list tab) then I need to delete the entire row.
So in the above example, the rows 1 and 4 would be deleted from the second table.
Your time and help is very much appreciated. Trying to learn from the best.
Thanks
The List tab has three columns Material, ID and Revision. They are in columns B, C and D with the titles listed in Row 15
On the Cost Source tab I have these three columns plus many more. The Material is in Column A, the ID is in Column D and the Revision is in Column E (there headers all start in row 2 and the data starts in row 3).
If the row on the Cost Source tab does not have a Match (for all three columns on the list tab) then I need to delete the entire row.
Material | ID | Revision |
0000-11398-0000 | SQ220518085140AM | 52218 |
0000-51863-0001 | SQ220518085330AM | 52218 |
Material | Material Type | Type | ID | Revision | |||
1N5408 |
| Quote |
|
| |||
0000-11398-0000 | Part | Quote | SQ220518085140AM | 52218 | |||
0000-51863-0001 | Part | PO | SQID397267 | 220318 | |||
0000-51863-0001 | Part | Quote | SQ220518085330AM | 52218 |
So in the above example, the rows 1 and 4 would be deleted from the second table.
Your time and help is very much appreciated. Trying to learn from the best.
Thanks