Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

using formulas cross check

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Using Formulas to cross check between two data sheets

Using Formulas to cross check between two data sheets

Low priorityVersion 365
Edited on Wed 3 Jun 2026, 09:59

Using Formulas to cross check between two data sheets

I have two data sheets for working hours, one that was complete for April, where i included additional data (project numbers and pay rate) and the second for May that was just provided by payroll that doesn't include this currently when extracted from the app.

Is there any formulas i can use to quickly identify which individual has a specific pay charge rate or project number without manually copy and pasting. The data that is in common between the two sheets are employee's first & last name and also the employee code.

Would using =IF + conditional formatting be a good idea to highlight which are which? or is there a more straight forward approach to directly "update" the current months data.

RE: Using Formulas to cross check between two data sheets

Hi Steven,

Thank you for your question to the forum.

Your best approach is to use XLOOKUP to “pull” data across sheets.

It works by looking up a unique ID, matching it in one list and returning relevant info from another list. You’ve got:

- Common key: Employee Code (best choice)
- Or fallback: First + Last Name

The formula to populate the pay rate starts in a cell in row 2 (for example) in the May sheet:

=XLOOKUP(A2, April!A:A, April!C:C) where:

A2 = Employee Code in May
April!A:A = Employee Code in April
April!C:C = Pay rates

Finally, copy this formula down to look up the other ID nos. in order to return their pay rates.

I hope this helps with your problem

Kind regards
Martin
(IT trainer)


















Employee CodeNameProject NoPay Rate123John SmithP001£20
Sheet 2 (May – incomplete)

















Employee CodeNameProject NoPay Rate123John Smith(blank)(blank)

🔹 Formula to auto-fill Project No
In May sheet:
Excel=XLOOKUP(A2, April!A:A, April!C:C, "")``Show more lines
Where:

A2 = Employee Code in May
April!A:A = Employee Code in April
April!C:C = Project Number column


🔹 Formula for Pay Rate
Excel=XLOOKUP(A2, April!A:A, April!D:D, "")``Show more lines

✅ Drag down — done
✅ No manual copy/paste
✅ Always consistent

Excel tip:

How to Remove Duplication's from a selection of data in an Excel 2010 Worksheet

It would take far too much time to scan through rows and rows of data to find and remove duplicate data. So, here's how to do this using a much more efficient method:-

1) Select the data that might contain duplication's
2) Click the ''Data'' tab
3) Go to ''Data Tools'' and click ''Remove Duplicates''
4) A box will appear. Tick the boxes of the columns that you want to use to check for duplicates. Finally, click ''OK.''

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.14 secs.