+ Reply to Thread
Results 1 to 11 of 11

Calculate Monthly Average of Data in Weeks

  1. #1
    Registered User
    Join Date
    05-14-2012
    Location
    saudi arabia
    MS-Off Ver
    Excel 2016
    Posts
    4

    Calculate Monthly Average of Data in Weeks

    Hi Guys;

    I am looking to show average of weekly data into months.


    I have data in this format in Sheet 1

    Erection Sup 02/24/2020 (1) 03/02/2020 (1) 03/09/2020(1).......

    I want to show average of weeks in months in sheet 2 as;

    Erection Sup Feb-2020 (1) March-2020(1)......


    I have attached the file which i am working on. Appreciate the help.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B 2016
    Posts
    719

    Re: Calculate Monthly Average of Data in Weeks

    Sheet2!C6 = SUMIFS(Sheet1!2:2,Sheet1!$1:$1,">="&C$5,Sheet1!$1:$1,"<="&EOMONTH(C$5,0))

  3. #3
    Registered User
    Join Date
    05-14-2012
    Location
    saudi arabia
    MS-Off Ver
    Excel 2016
    Posts
    4

    Re: Calculate Monthly Average of Data in Weeks

    Thank you so much for quick answer. I was looking for Average of data instead of sum. can you please take a look again?
    Last edited by AliGW; 03-15-2020 at 04:35 AM. Reason: Please don't quote unnecessarily!

  4. #4
    Valued Forum Contributor
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B 2016
    Posts
    719

    Re: Calculate Monthly Average of Data in Weeks

    Change SUMIFS to AVERAGEIFS

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 10)
    Posts
    49,795

    Re: Calculate Monthly Average of Data in Weeks

    Excel 2007 does not support AVERAGEIFS, Joseph - you will need to suggest something else.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  6. #6
    Valued Forum Contributor
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B 2016
    Posts
    719

    Re: Calculate Monthly Average of Data in Weeks

    Oh ya.. I give up, sorry!

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 10)
    Posts
    49,795

    Re: Calculate Monthly Average of Data in Weeks

    Then I shall have to help you out:

    =AVERAGE(IF(Sheet1!$1:$1>=C$5,IF(Sheet1!$1:$1<=EOMONTH(C$5,0),Sheet1!2:2)))

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  8. #8
    Registered User
    Join Date
    05-14-2012
    Location
    saudi arabia
    MS-Off Ver
    Excel 2016
    Posts
    4

    Re: Calculate Monthly Average of Data in Weeks

    Excellent. AVERAGEIFS worked by pressing CTRL+SHIFT+ENTER.

    Appreciate your help AliGW & josephteh

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 10)
    Posts
    49,795

    Re: Calculate Monthly Average of Data in Weeks

    So if AVERAGEIFS works, then your user profile is incorrect: please update it. However, it does not require C+S+E!

  10. #10
    Registered User
    Join Date
    05-14-2012
    Location
    saudi arabia
    MS-Off Ver
    Excel 2016
    Posts
    4

    Re: Calculate Monthly Average of Data in Weeks

    I just updated my user profile. Thanks.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 10)
    Posts
    49,795

    Re: Calculate Monthly Average of Data in Weeks

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Calculate average weeks open
    By scruz9 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2017, 12:43 PM
  2. [SOLVED] Calculate Monthly Average
    By donk04 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-08-2016, 07:02 AM
  3. [SOLVED] Calculate the Monthly Average based on the current day
    By tskabo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2015, 03:35 PM
  4. AVERAGEIF - calculate monthly average
    By TheRobsterUK in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-05-2014, 11:53 AM
  5. Dividing monthly values into weeks automatically (some months have 5 weeks)
    By massimoo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2012, 03:20 AM
  6. How to calculate monthly average
    By mikejones21 in forum Excel General
    Replies: 5
    Last Post: 07-22-2012, 11:51 PM
  7. Replies: 1
    Last Post: 07-11-2008, 05:57 AM

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