Trying to Return an Attendance Date Field For Students From A Completed Course List

Options

Would anyone be able to help complete this formula?

=IFERROR(INDEX({Attendance Date Range}, MATCH([Learner Email]@row, {Learner Email Range}, HAS({Course Completed Range 1}, "Fundamentals of Epi", 0))), " ")

returns blank , but should have a date completed


=IFERROR(INDEX({Attendance Date Range}, MATCH([Learner Email]@row, {Learner Email Range}, 0)), " ")

returns a date for the student, but there is no specific course identified as criteria in the formula

*the course competed list is a dropdown list

Best Answer

  • Kelly Moore
    Kelly Moore ✭✭✭✭✭✭
    Answer ✓
    Options

    Hey @benlight

    An Index/Collect combination is used when more than one criteria is needed to obtain the required response.

    =IFERROR(INDEX(COLLECT({Attendance Date Range},{Learner Email Range},[Learner Email]@row,Course Completed Range 1}, HAS(@cell, "Fundamentals of Epi")),1),"")

    You mentioned that the course is a dropdown list. Is it a multi-select dropdown list - meaning you can have more than one selection in a single cell? Or a regular drop down list? The HAS function is only required with a multi-select dropdown list. Otherwise the formula becomes

    =IFERROR(INDEX(COLLECT({Attendance Date Range},{Learner Email Range},[Learner Email]@row,Course Completed Range 1},"Fundamentals of Epi"),1),"")

    Will either of these work for you?

    Kelly

Answers

  • Kelly Moore
    Kelly Moore ✭✭✭✭✭✭
    Answer ✓
    Options

    Hey @benlight

    An Index/Collect combination is used when more than one criteria is needed to obtain the required response.

    =IFERROR(INDEX(COLLECT({Attendance Date Range},{Learner Email Range},[Learner Email]@row,Course Completed Range 1}, HAS(@cell, "Fundamentals of Epi")),1),"")

    You mentioned that the course is a dropdown list. Is it a multi-select dropdown list - meaning you can have more than one selection in a single cell? Or a regular drop down list? The HAS function is only required with a multi-select dropdown list. Otherwise the formula becomes

    =IFERROR(INDEX(COLLECT({Attendance Date Range},{Learner Email Range},[Learner Email]@row,Course Completed Range 1},"Fundamentals of Epi"),1),"")

    Will either of these work for you?

    Kelly

  • benlight
    Options

    Hi, Kelly

    Thank you! The formula worked. Yes, it was a multi-select dropdown list. It completed a training tracker that gave every student a completion date and credit for a course immediately after completion.

    Kindest regards,

    Brandia

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!