Forum Discussion

Rich1945's avatar
Rich1945
Copper Contributor
Jan 10, 2024
Solved

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...
  • cretecrocgmailcom's avatar
    cretecrocgmailcom
    Jan 10, 2024
    In 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.

Resources