Copy Date from one sheet to another if criteria matches

Andrea Westrich
Andrea Westrich ✭✭✭✭✭✭
edited 10/26/22 in Formulas and Functions

Hello all,

I have a master project sheet and I'd like to copy the date from another sheet into it.

Below is my master sheet and in the Milestone Date column, I want to copy the End Date from Project Sheet (below), if the "Primary Column" name from the Project sheet at each line matches the "Project Name" line name in the Master sheet.

To summarize, I want the date from the Project Sheet to be copied to the Master sheet if the names match in the Project Name and Primary columns.

What is the easiest way to do that?

This formula did. not work: =INDEX({ZLINE - Project Milestone Checklist End Date}, MATCH([Project Name]@row. {ZLINE - Project Milestone Checklist Primary Column}, 0))


Master Sheet

Project Milestone Checklist


Best Answer

  • Ryan Sides
    Ryan Sides ✭✭✭✭✭✭
    Answer ✓

    @Andrea Westrich

    Hi Andrea, if your cross sheet references are setup correctly, it looks like your issue might be a typo.

    Replace your period after @row with a comma.

    =INDEX({ZLINE - Project Milestone Checklist End Date}, MATCH([Project Name]@row, {ZLINE - Project Milestone Checklist Primary Column}, 0))

    Ryan Sides

    Smartsheet Tips and Tricks for Beginners and Advanced on LinkedIn and YouTube

    Come Say Hello!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!