Hi jmdh,
Thank you for the help. The solution does work, but I am left with two questions you might be able to answer:
1. Does this account for leap years?
2. With this solution, you count the average over all of 2014 (for example) and post it in januari 2015. I would like to have it post to december of 2014. How would you go about that in this solution?
Kind regards,
Philip