+ Reply to Thread
Results 1 to 20 of 20

Formula to sum monthly result given weekly data

  1. #1
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Formula to sum monthly result given weekly data

    Hello,

    I'm looking for a formula that can sum up weekly data based on number of weeks on every month in the result tab. Make sure it match data with the item id. Appreciate if you can help.

    Thank you

    Test.xlsx

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to sum monthly result given weekly data

    What answer do you expect in first row?
    (some weeks overlaped from month to month)
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Formula to sum monthly result given weekly data

    On the result tab, C6 in the result tab should equal sum (C5:F5) from the data. and D6 = SUM (G5:K5) and go on. I think I gave you all too much data on the data tab since I only need to figure out Monthly sum for fiscal year 2010.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to sum monthly result given weekly data

    Did you look at the possibility of a pivot table?

    In your resultsheet you get 5 weeks for march.

    In the data-sheet you have 4 weeks.

    As already asked by another member, what is the right result?
    Last edited by oeldere; 08-16-2013 at 03:43 PM.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Formula to sum monthly result given weekly data

    I heard about pivot table but I need a formula to achieve this purpose since weekly data need to updated by Essbase and table could not do it.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to sum monthly result given weekly data

    Please Login or Register  to view this content.
    Why not?

    In your resultsheet you get 5 weeks for march.

    In the data-sheet you have 4 weeks.

    As already asked by another member (Robert Mika), what is the right result?

  7. #7
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Formula to sum monthly result given weekly data

    oeldere: that's a tricky part I could not figure to come up with the solution. We are based on fiscal calendar therefore it is going with order 4,5,4 for every quarter. We have 52 weeks for a year. There should be a way to calculate 52 weeks based on order 4,5,4 for each month right? The data I gave you has more than 52 weeks.

  8. #8
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to sum monthly result given weekly data

    Just to add:
    You have got 104 weeks in Data and only 12 Months in result...
    At which year are we looking at?
    You have mention first column but what about the second part?
    Last edited by RobertMika; 08-16-2013 at 03:55 PM.

  9. #9
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Formula to sum monthly result given weekly data

    Test.xlsxplease find my new attached. It would contain only 52 weeks data.

  10. #10
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Formula to sum monthly result given weekly data

    I just wanted to add since these test spreadsheet I have item id line by line with the data. Assuming it would not be line by line item in the actual sheet. All I need is to figure out the way to sum up data following the order of 4,5,4. For example, Feb will be include 4 week data, March includes 5 wks, April 4 wks, May 4wks, June 5 wks, July 4wks... however, it is a bit tricky when you have to match Id to id to pull correct data.

    I apologize for not explaining well in the beginning.

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to sum monthly result given weekly data

    See if this is what you're up to.

    With an pivot table and graph.

    See the attached file.

    Please reply.
    Attached Files Attached Files

  12. #12
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to sum monthly result given weekly data

    C6:
    =SUM(OFFSET(Data!$C$5,COUNTA($B$6:B6)-1,,1,SUM(Result!$B$4:C$4)))-SUM($B$6:B6)

    Drag down and accross
    Last edited by RobertMika; 08-16-2013 at 04:08 PM.

  13. #13
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Formula to sum monthly result given weekly data

    Sorry this is not what I'm looking for. I really appreciated your help.

  14. #14
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to sum monthly result given weekly data

    Quote Originally Posted by tantcu View Post
    Sorry this is not what I'm looking for. I really appreciated your help.
    Have you seen my post?

  15. #15
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Formula to sum monthly result given weekly data

    Robert, I applied your formula and Column C worked but when you drag across it did not give expected results.

  16. #16
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to sum monthly result given weekly data

    Aplogize:
    ($ sign in wrong places)
    try this:
    =SUM(OFFSET(Data!$C$5,COUNTA($B$6:$B6)-1,,1,SUM(Result!$B$4:C$4)))-SUM($B6:B6)

  17. #17
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to sum monthly result given weekly data

    @tantcu

    Please Login or Register  to view this content.
    Please add in your answer to whom your replying.

    You got 2 answers, so it's confusing which answers your not looking for.

  18. #18
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Formula to sum monthly result given weekly data

    Thanks guys, I already figured out

  19. #19
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Formula to sum monthly result given weekly data

    This is what I came up with. C6 =SUM(OFFSET(Data!$C$4,MATCH($A6,Data!$A$5:$A$19,0),SUM($B4:B4),,C$4))

  20. #20
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to sum monthly result given weekly data

    Quote Originally Posted by tantcu View Post
    This is what I came up with. C6 =SUM(OFFSET(Data!$C$4,MATCH($A6,Data!$A$5:$A$19,0),SUM($B4:B4),,C$4))
    This only works for first row...

+ 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. Formula For Daily, Weekly And Monthly Averages
    By jrusso in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-15-2012, 08:10 PM
  2. Prorate formula for weekly to monthly data
    By randym44 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-28-2011, 03:02 AM
  3. Using weekly data to convert to monthly
    By 1.zer0 in forum Excel General
    Replies: 10
    Last Post: 09-27-2010, 04:33 PM
  4. aggregating weekly data into monthly
    By mattbessey in forum Excel General
    Replies: 3
    Last Post: 03-24-2010, 02:14 PM
  5. 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