Search code examples
google-sheets

Pulling Data Across Google Sheets


I am struggling with a formula in google sheets to pull TRUE/FALSE in column J of PracticeTracker sheet in the google doc link given below

https://docs.google.com/spreadsheets/d/1qEPxMYm1_DvKheg0klIgqrzy9Glhbo8LCyg5ducrswA/edit#gid=1142572750 Column J has tick boxes and i want to compare the student ID in column D and date in row 4 with the data in HW sheet column B and column D. If student with ID in column D (PracticeTracker sheet) has submitted the homework on that date (means student ID appears in HW sheet on that date), value in column J should be TRUE else it should be false. TRUE value will automatically tick the checkbox in there. that is what i finally want. Looking forward for help please.


Solution

  • You may try:

    =vstack("Homework",
        map($D6:$D,lambda(d,let(Σ,ifna(filter(HW!$B:$B,HW!$B:$B=d,HW!$D:$D=H4)),if(len(Σ),true,false)))))
    

    enter image description here