Hi cacos!
First, for other readers, reference here
On the calculations sheet, check out cell C4. The formula is doing a COUNTIFS based on two criteria.
=COUNTIFS(tblPosts[poster_id],C$2,tblPosts[post_time],">="&(C$3+($B4-1)*7),tblPosts[post_time],"<"&(C$3+($B4)*7))
Looking at the criteira, it's taking the week number and multiplying by 7 (7 days to a week) to generate the correct count. To adapt to months, and without having to redesign everything, let's instead think of col B as being "months after" rather than weeks after. For this, using the EOMONTH function will help us out, as it generates a date given start date and # of months to progress. New formula then is:
=COUNTIFS(tblPosts[poster_id],C$2,tblPosts[post_time],">="&EOMONTH(C$3,$B4-1),tblPosts[post_time],"<"&EOMONTH(C$3,$B4))
Similarly, in cell O5, change formula form:
=IF(C$3+$B4*7>dumpDate,NA(),O4+C5)
to this:
=IF(EOMONTH(C$3,$B4)>dumpDate,NA(),O4+C5)
After that, copy both formula to the right and down as appropriate.