Looking for the average of last 3 months based on date in A1
For example 8/1/2023 I would like to see the average of July, June, May
As the date in A1 changes so will the 3 months. Thank you very much.
Looking for the average of last 3 months based on date in A1
For example 8/1/2023 I would like to see the average of July, June, May
As the date in A1 changes so will the 3 months. Thank you very much.
Are you still using Excel 2013?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
Try...
Formula:
Please Login or Register to view this content.
Edit: Oh, you can use EDATE instead of DATE().
Formula:
Please Login or Register to view this content.
Last edited by CK76; 10-10-2023 at 04:38 PM.
"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
― Robert A. Heinlein
Try:
=AVERAGEIFS(B3:M3,B2:M2,">="&EDATE(A1,-3),B2:M2,"<"&A1)
Removed by JT
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
I'm using Microsoft 365 MSO (Version 2309 Build 16.0.16827.20130)
Thank you VERY much for responding so quickly!![]()
Last edited by Brian65; 10-10-2023 at 05:10 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks