Wow! Thanks a lot! Your code worked like a charm and did exactly what I was looking for - at least after checking a few hundred observations 😉 I've found a nice article on DoW loops (https://sasnrd.com/sas-dow-loop-example/) and am now trying to understand how it works. Thanks again! Regards
... View more