+ Reply to Thread
Results 1 to 8 of 8

Average of prior 3 months of data based on a date

  1. #1
    Registered User
    Join Date
    04-08-2014
    Location
    Indianapolis
    MS-Off Ver
    Microsoft 365 MSO
    Posts
    9

    Average of prior 3 months of data based on a date

    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.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,266

    Re: Average of prior 3 months of data based on a date

    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.

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Average of prior 3 months of data based on a date

    Try...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit: Oh, you can use EDATE instead of DATE().

    Formula: copy to clipboard
    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

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,266

    Re: Average of prior 3 months of data based on a date

    Try:

    =AVERAGEIFS(B3:M3,B2:M2,">="&EDATE(A1,-3),B2:M2,"<"&A1)

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,687

    Re: Average of prior 3 months of data based on a date

    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.

  6. #6
    Registered User
    Join Date
    04-08-2014
    Location
    Indianapolis
    MS-Off Ver
    Microsoft 365 MSO
    Posts
    9

    Re: Average of prior 3 months of data based on a date

    I'm using Microsoft 365 MSO (Version 2309 Build 16.0.16827.20130)

  7. #7
    Registered User
    Join Date
    04-08-2014
    Location
    Indianapolis
    MS-Off Ver
    Microsoft 365 MSO
    Posts
    9

    Re: Average of prior 3 months of data based on a date

    Thank you VERY much for responding so quickly!
    Last edited by Brian65; 10-10-2023 at 05:10 PM.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,266

    Re: Average of prior 3 months of data based on a date

    Quote Originally Posted by Brian65 View Post
    I'm using Microsoft 365 MSO (Version 2309 Build 16.0.16827.20130)
    Then please update your forum profile.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with averageifs formula.
    By LorenzoCastroC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-02-2020, 12:44 PM
  2. Date filter for 3 months prior today.
    By brent_milne in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-10-2017, 12:09 PM
  3. [SOLVED] Formula to calculate 2 months prior to a date
    By kschmit1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-30-2016, 04:59 PM
  4. [SOLVED] Display cells 12 months prior and 12 months post from a given date
    By hog77 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2012, 06:25 AM
  5. Replies: 3
    Last Post: 08-16-2012, 09:38 AM
  6. Replies: 2
    Last Post: 01-04-2012, 09:15 AM
  7. Excel 2007 : Determine 2 months prior from a date
    By localhost in forum Excel General
    Replies: 2
    Last Post: 06-16-2010, 09:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1