Forum Discussion
Rich1945
Jan 10, 2024Copper Contributor
How to merge data in excel from a master sheet to several sheets? (Microsoft 365)
Hello, I am working on an end-of-year compensation project and need some suggestions to make this project easier and error-free. I have a master Excel sheet that has employees by ID#, names, and al...
- Jan 10, 2024In the first cell where you want the compensation data on the employee sheet, use the following formula:
=VLOOKUP(A2, 'MasterSheetName'!$A$2:$Z$1000, 2, FALSE)
Adjust the ranges and sheet names accordingly. This formula looks up the ID# in the master sheet and retrieves the corresponding compensation data.
Drag/Fill Formula:
Drag the fill handle (small square at the bottom-right corner of the cell) down to copy the formula for all employees. Excel will automatically adjust the cell references.
Repeat for Other Data:
Repeat the process for other compensation data columns by adjusting the column index number in the VLOOKUP formula.
Data Validation (Optional):
To prevent errors, consider using Data Validation to ensure that each employee's ID# on their sheet matches the master sheet.
peiyezhu
Jan 10, 2024Bronze Contributor
- Rich1945Jan 10, 2024Copper ContributorNot sure this is what I need in terms of the tasks in question.
- cretecrocgmailcomJan 10, 2024Copper ContributorIn the first cell where you want the compensation data on the employee sheet, use the following formula:
=VLOOKUP(A2, 'MasterSheetName'!$A$2:$Z$1000, 2, FALSE)
Adjust the ranges and sheet names accordingly. This formula looks up the ID# in the master sheet and retrieves the corresponding compensation data.
Drag/Fill Formula:
Drag the fill handle (small square at the bottom-right corner of the cell) down to copy the formula for all employees. Excel will automatically adjust the cell references.
Repeat for Other Data:
Repeat the process for other compensation data columns by adjusting the column index number in the VLOOKUP formula.
Data Validation (Optional):
To prevent errors, consider using Data Validation to ensure that each employee's ID# on their sheet matches the master sheet.- Rich1945Jan 10, 2024Copper ContributorThank you SO MUCH! This is exactly what I was looking for! I just did it and it worked. Apparently, the "FALSE" command had a huge role in here as I was getting the wrong data without it when I was trying it. I followed the same process for all the cells I wanted filled with specific data. After finishing the first sheet for the first employee, I will just make copies for the remaining employees and the data of their sheets will follow their unique IDs. Thanks so much again!!