I've created a spreadsheet for one of my classes to keep track of marks. There is a leaderboard in the class and if a student is on top of the leaderboard for 7 days or more they receive a bonus for being so spectacular.
I have 4 columns for this. The first is the MARK column. The second is their SCORE. The third is the DATE they received the hi-score. The fourth is the AMOUNT_OF_DAYS that have elapsed since they obtained a hi-score. I have a script that runs if I enter in their results. It checks to see if it is a hi-score and date stamps todays date in the DATE column. The AMOUNT_OF_DAYS column is a simple formula that calculates the amount of days that have elapsed from when the hi-score was obtained. I would like to have the MARK column populated automatically once the AMOUNT_OF_DAYS value is 7 or greater. I tried the "change" trigger event, but I don't think that is the purpose of it. I don't think onEdit would work because that's only triggered when I manipulate the spreadsheet manually I think. Any ideas? Thanks in advance.
