+ Reply to Thread
Results 1 to 2 of 2

Averaging data from months prior to this month (Excel 2013)

  1. #1
    Registered User
    Join Date
    05-15-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    1

    Averaging data from months prior to this month (Excel 2013)

    I'm working on financial spreadsheet for the year of 2013. My column headers are the months, the row headers are budget categories, and the data is the amount I've spent per month in each category.

    What I would like to do is create a function for each category that averages out the months prior to this month. So, since we are in march now, it would average the values entered under Jan, Feb, Mar, Apr. Then when it gets to June, it would average the values from Jan, Feb, Mar, Apr, May.

    Thoughts?

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Averaging data from months prior to this month (Excel 2013)

    Something like this:

    =AVERAGE(B2:INDEX(B2:M2,MONTH(NOW())-1))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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