I am looking for a way to search from one cell in my registration sheet and see if the string in that cell appears in column in an attendance sheet (to see if they showed up). If so I would like to just have the word Yes appear in Column T of the registration sheet. I would like to do this in VBA as part of my reporting software.
I currently use this formula in Column T of the registration sheet: =IF(ISNA(VLOOKUP(W2,'Attendance'!D:D,1,FALSE)),"no", "yes")
This will search for the email address in W2 in Column D of the attendance worksheet. If it exists it will place a "yes" in the cell where this formula appears.
How can I do this in VBA using a For Next command for each row?
I currently use this formula in Column T of the registration sheet: =IF(ISNA(VLOOKUP(W2,'Attendance'!D:D,1,FALSE)),"no", "yes")
This will search for the email address in W2 in Column D of the attendance worksheet. If it exists it will place a "yes" in the cell where this formula appears.
How can I do this in VBA using a For Next command for each row?