+ Reply to Thread
Results 1 to 10 of 10

Total monthly averages

  1. #1
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Total monthly averages

    Hi,

    I have sheet where dates are in column A, and values in column C. I want to (first) make average from each month, and then make total average from these averages.

    Here's what I tried for only one month, but not working :


    Please Login or Register  to view this content.
    Please help !

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Total monthly averages

    MonthName(1) returns a string "January"
    Month(argument) returns 1 to 12

    You're asking if a number 1 to 12 equals a string "January", "February", etc.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Total monthly averages

    Yes, this is just what I tried to display result for January average, nothing else. But even that is not working.


    Here is also sample worbook.
    Attached Files Attached Files
    Last edited by Lukael; 09-11-2015 at 06:17 AM.

  4. #4
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Total monthly averages

    Try this:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by skywriter; 09-11-2015 at 06:37 AM.

  5. #5
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Total monthly averages

    thanks, this works. But as I told this was only my experiment for average of one month. I need TOTAL average for all month averages in sheet.

    There are 3 months in sample. So first I need to make average for each month, then sum these averages and make another (total) average. I want to have average of values per month.
    Last edited by Lukael; 09-11-2015 at 06:50 AM.

  6. #6
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Total monthly averages

    Well here's the thing, it's very late where I am, so I'm going to bed. Maybe someone else will help you. You should always state what you are doing and what you want fully. You give an example and then you want something else. I could have given you what you wanted in the first place, but for some reason you have to go about it the way you are.

    Good Luck.

  7. #7
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Total monthly averages

    No problem, thanks for response anyway. I thought I was clear in post#1, obviously not. Have a nice dream though

    So for anyone else here is another sample : in P13 is the formula result I WISH to display in Userform. Note that sheets in original workbook are each in different year, so ranges for dates are not same as formula in this cell.

    P.S: You can also see average in C92, and you'll notice that result isn't same as in P13. This result is also something I DON'T WANT.

    Hope that I was clear now !!

    Any help appreciated !
    Attached Files Attached Files

  8. #8
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Total monthly averages

    I thought I was clear in post#1
    Apologies, I was in Zombie mode at that time, it was pretty clear.

    Run the macro the results come up in a message box. See if we're getting somewhere.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Total monthly averages

    Yes, half way done. Now I need final average from all this monthly averages.

  10. #10
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Total monthly averages

    Is It possible to put this array formula (Ctrl+Shift+Enter) in textbox :

    Please Login or Register  to view this content.
    I would then assign each month a different variable, sum them and make average of It ?

+ 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. Replies: 9
    Last Post: 05-15-2014, 01:57 PM
  2. Replies: 1
    Last Post: 08-15-2013, 02:15 PM
  3. Replies: 1
    Last Post: 03-08-2013, 04:18 PM
  4. Replies: 5
    Last Post: 03-07-2013, 11:38 AM
  5. Monthly averages help
    By richbauer in forum Excel General
    Replies: 3
    Last Post: 03-17-2012, 02:31 PM
  6. Calculate Monthly Numbers from Monthly Averages
    By miami580 in forum Excel General
    Replies: 6
    Last Post: 08-05-2010, 11:45 AM
  7. Monthly Averages
    By JMac23 in forum Excel General
    Replies: 2
    Last Post: 02-13-2010, 07:58 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