2 Tab Data Comparison & Update Help

Sunshine8790

Board Regular
Joined
Jun 1, 2021
Messages
71
Office Version
  1. 365
Platform
  1. Windows
I have 2 tabs where the first 4 columns have similar data sets.
The 1st tab is the existing data.
The 2nd tab is the new data (which may or may not be different from the existing).

Essentially: I need to be able to update "Existing Data" with the New Data.
Any new employees on New Data I will need to add to the Existing list.
All others - I need to be able to update Badge #s on the Existing list, if they differ from the New one. Same with Employee IDs.

The 2nd tab of New Data may include rows of data that are not on the Existing tab (because it's new and needs to be added to the Existing). So I can't just use conditional formatting to highlight cells that don't match, because they won't be matching until all the new data that doesn't already exist - is added.

Currently - the process is all manual, and it takes hours to complete.
If I can get some help to get some kind of conditional formatting, formulas, VBA code even - to make this process quicker and still efficient, I would be forever grateful.

Existing Data Tab:
Compare and highlight.xlsx
ABCDEFGH
1Employee ID*First Name*Last Name*Badge #LanguageActive*Reporting GroupUser Group 2
2111111AZ12345YesGeneralGeneral
3222221BY23456YesAll AccessAll Access
4333333CX13245YesAll AccessAll Access
5444444AZ24315YesAll AccessAll Access
6555155BY54321YesAll AccessAll Access
7666666CX43210YesAll AccessAll Access
8777777AZ53421YesAll AccessAll Access
9101010BY68291YesAll AccessAll Access
10
11
Existing Data
Cells with Data Validation
CellAllowCriteria
E1:E11List=$M$1:$M$4


New data Tab:
Compare and highlight.xlsx
ABCDEF
1Employee ID*First Name*Last Name*Badge #IC_TitleLast Use Date
2123321DW31524Example10/18/2023
3111111AZ12345Example10/16/2023
4222222BY23456Example10/16/2023
5333333CX13245Example10/16/2023
6444444AZ24315Example10/16/2023
7555555BY54321Example10/16/2023
8666666CX43210Example10/16/2023
9777777AZ63421Example10/16/2023
10101010BY42310Example10/16/2023
11Example10/16/2023
12Example10/16/2023
New Data
 
Last edited:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I have 2 tabs where the first 4 columns have similar data sets.
The 1st tab is the existing data.
The 2nd tab is the new data (which may or may not be different from the existing).

Essentially: I need to be able to update "Existing Data" with the New Data.
Any new employees on New Data I will need to add to the Existing list.
All others - I need to be able to update Badge #s on the Existing list, if they differ from the New one. Same with Employee IDs.

The 2nd tab of New Data may include rows of data that are not on the Existing tab (because it's new and needs to be added to the Existing). So I can't just use conditional formatting to highlight cells that don't match, because they won't be matching until all the new data that doesn't already exist - is added.

Currently - the process is all manual, and it takes hours to complete.
If I can get some help to get some kind of conditional formatting, formulas, VBA code even - to make this process quicker and still efficient, I would be forever grateful.

Existing Data Tab:
Compare and highlight.xlsx
ABCDEFGH
1Employee ID*First Name*Last Name*Badge #LanguageActive*Reporting GroupUser Group 2
2111111AZ12345YesGeneralGeneral
3222221BY23456YesAll AccessAll Access
4333333CX13245YesAll AccessAll Access
5444444AZ24315YesAll AccessAll Access
6555155BY54321YesAll AccessAll Access
7666666CX43210YesAll AccessAll Access
8777777AZ53421YesAll AccessAll Access
9101010BY68291YesAll AccessAll Access
10
11
Existing Data
Cells with Data Validation
CellAllowCriteria
E1:E11List=$M$1:$M$4


New data Tab:
Compare and highlight.xlsx
ABCDEF
1Employee ID*First Name*Last Name*Badge #IC_TitleLast Use Date
2123321DW31524Example10/18/2023
3111111AZ12345Example10/16/2023
4222222BY23456Example10/16/2023
5333333CX13245Example10/16/2023
6444444AZ24315Example10/16/2023
7555555BY54321Example10/16/2023
8666666CX43210Example10/16/2023
9777777AZ63421Example10/16/2023
10101010BY42310Example10/16/2023
11Example10/16/2023
12Example10/16/2023
New Data
Also, and this is an important part - any rows in "Existing" that get updated (Any Change to that row of Data, as well as any new rows of data that weren't there before) need to be highlighted.
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,033
Members
449,092
Latest member
ikke

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