+ Reply to Thread
Results 1 to 4 of 4

Calculating Yearly Average by current month

  1. #1
    Registered User
    Join Date
    08-16-2018
    Location
    Toronto, Canada
    MS-Off Ver
    2016
    Posts
    2

    Calculating Yearly Average by current month

    I need to create a SS that calculates the yearly average from January until the end of the previous month.


    Excel example.JPG

    Currently I have =SUM(A2:G2)/12 and each month I go in an change the range, but I would like it to update each month to include the month that just finished.
    Any help would be appreciated.

  2. #2
    Valued Forum Contributor
    Join Date
    07-10-2017
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2013
    Posts
    430

    Re: Calculating Yearly Average by current month

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

    Edit: added a space to get rid of the smiley
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by danielexcelvba; 08-16-2018 at 09:50 AM. Reason: Changed current to previous month

  3. #3
    Registered User
    Join Date
    08-16-2018
    Location
    Toronto, Canada
    MS-Off Ver
    2016
    Posts
    2

    Re: Calculating Yearly Average by current month

    thanks! This got rid of the #VALUE error I was getting, but I don't think it's calculating correctly. The average should be 929 but the result of that formula is 125

    JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC TOTAL Monthly Avg.
    0 0 1500 0 2500 2500 0 2200 2000 900 600 600 12800 CY Actuals 125

  4. #4
    Valued Forum Contributor
    Join Date
    07-10-2017
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2013
    Posts
    430

    Re: Calculating Yearly Average by current month

    I'm confused
    The sum of Jan:July is 6200. If you're dividing by 7 (number of months summed) the result is 886, if you're dividing by 12 the result is 517 (what the formula returns when I try in my worksheet). Where would 929 come from?

+ 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. calculating YTD values dynamically based on current month
    By skolluru78 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-23-2016, 10:02 AM
  2. Calculating a Current Average ignoring cells with no data yet.
    By DentonHTHS in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-23-2015, 03:13 PM
  3. Replies: 1
    Last Post: 03-05-2015, 05:17 PM
  4. [SOLVED] YTD Average Formula based on the Current Month
    By tskabo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-26-2015, 03:37 PM
  5. Replies: 4
    Last Post: 05-24-2013, 01:24 PM
  6. Average IF current month?
    By The Boosh! in forum Excel General
    Replies: 1
    Last Post: 11-02-2011, 04:19 PM
  7. Calculating the prior month given the current month
    By AnthonyWB in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-15-2010, 04:40 PM

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