Hi, thanks for your response. Imagine I have 3 weeks of data, Mon-Sun. I want to average individual days. Mondays, Tuesdays, Wednesdays etc. Now I also want to be able to selectively exclude certain weekdays if they do not meet a certain criteria. I will focus on averaging all the days first though, then work on the exclusion criteria. Should I split the weekdays into individual data sets, order them, apply a lag function and average it? Or is there another quicker method to do this?
... View more