oh ok
see attached to see what i have done with your sheet
i put primary into a seperate sheet as you would have done it
using a combinations of if and vlookup formula and a helper row which is in effect FULL name which you have in the export data
(if this is going to be problem it can be worked around but it will make the formula much more complicated than it needs to be)
conditions:
if actipass is yes then all days are "R"
Formula:
=IF(ISNA(VLOOKUP(C4,Sheet1!D41:D46,1,0)),"","R")
by default if no actipass then it should be day activities, so
Formula:
=IF(D4="","R","")
next
formula checks if actipass...
Formula:
=IF($D4="R","R",IF(ISNA(VLOOKUP($C4,Sheet1!$K$42:$K$46,1,0)),"","R"))
if "R" then "R"
if not...do vlookup on COLUMN K which is where Monday Activity Name1 is .....change this vlookup column based on the day
ie Tuesday Activity Name1 is column P...Wednesday Activity Name1 = column U
(not sure how your name2 works.....i assumed it just doesnt)
only did primary because...its time consuming to do them all but once setup it should auto update if the shape of the data is the same
Bookmarks