Hoping folk can assist. I have been playing with a few function codes found online but cannot get them to do what I need, and am a complete novice at Google Apps Script.