+ Reply to Thread
Results 1 to 4 of 4

AVERAGE value from past 5 days - multiple entries

  1. #1
    Registered User
    Join Date
    11-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    45

    AVERAGE value from past 5 days - multiple entries

    Hi everyone,
    I have a tricky problem that I need some help on. I have a list of dates and their values. Some values have the same date. I need to determine the AVERAGE value from the last 5 days (not the last 5 entries). Since there are multiple entries, I am having a hard time counting the days to use. See the workbook for clarification.

    Thanks for the help
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: AVERAGE value from past 5 days - multiple entries

    hi jj554, try this array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    you have to paste the formula inside the formula bar & press CTRL + SHIFT + ENTER. When done correctly, you should see curly brackets surrounding it

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: AVERAGE value from past 5 days - multiple entries

    Thanks benishiryo, it works perfectly. Now if I want to change the number of days to average, is there a simple way to change that parameter?

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: AVERAGE value from past 5 days - multiple entries

    change the one in red:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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