A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi RoPark
I'm AnnaThomas and I'd happily help you with your question. In this Forum, we are Microsoft consumers just like yourself.
You can use the AVERAGEIFS function. In your case, assuming that you want to calculate the average of the previous 3 months in column E, and that your data starts from row 2, you can use this formula in cell E2 and copy it down:
= AVERAGEIFS (F2:Q2, F1:Q1, ">=" & EDATE (TODAY (), -3), F1:Q1, "<" & TODAY ())
This formula will average the values in row 2 from columns F to Q, only if the dates in row 1 from columns F to Q are within the last 3 months from today.
I hope this helps ;-), let me know if this is contrary to what you need, I would still be helpful to answer more of your questions.
Best Regards,
AnnaThomas
Give back to the community. Help the next person with this problem by indicating whether this answer solved your problem. Click Yes or No at the bottom.