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

formulas

ResolvedVersion 365

Emily has attended:
Excel Advanced course

Formulas

I am trying to link two spreadsheets together so I can confirm whether a student has or hasn’t completed. One spreadsheet (sheet 1) has the students name, email address and whether they have or haven’t completed. The other (sheet 2) has the students name cohort and email. I would like to add whether they have completed to the spreadsheet with the cohort details. Which formula should I be using?

RE: Formulas

Hello Emily,

Thank you for your question. As long as the student names appear in the same way in both sheets, I would suggest XLOOKUP (or VLOOKUP if you have Excel 2013, 2016 or 2019).

If Column A holds the name and Column D holds the completion status,
XLOOKUP would be:
=XLOOKUP(A2,OtherSheet!A:A,OtherSheet!D:D)

VLOOKUP would be:
=VLOOKUP(A2,OtherSheet!A:D,4,FALSE)

Because you have data in another sheet, you have to link to that sheet in your formula, as shown in my examples (OtherSheet).

I hope this helps.

Kind regards
Marius Barnard
STL

Wed 21 Sep 2022: Automatically marked as resolved.

Excel tip:

Calculate age or service

The DATEDIF() function in Excel calculates the number of days, months, or years between two dates. So, this function makes it easy to calculate a person's age. To try this tip:

In a blank worksheet, type the birth date in cell A1, using slashes to separate day, month, and year.
In cell A2, type =DATEDIF(A1,TODAY(),"y") and press ENTER.

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.09 secs.