+ Reply to Thread
Results 1 to 8 of 8

Referencing Weekly data from large raw data set

  1. #1
    Forum Contributor
    Join Date
    06-13-2008
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    277

    Referencing Weekly data from large raw data set

    Hi Guys,

    I already have had help to produce a formula to reference a large amount of data and pull one month at a time:

    Please Login or Register  to view this content.
    I now need to adapt this so it will pull weekly data on another sheet.

    I have attached the workbook beause i find it hard to explain what i mean,

    I basicly want another sheet that i can choose week 1 - 52 and data from seven days will be shown.

    Thanks for all your help!
    Attached Files Attached Files
    Last edited by freud1; 03-08-2009 at 05:53 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Referencing Weekly data from large raw data set

    This is an INDEX / MATCH procedure. Your data sheet starts on a Tuesday, so that is how my formula is reading the "first day of the week". You can adjust the starting value in E3 to A3 or A4 or whatever to set the actual "first day" for the calculations.
    Last edited by JBeaucaire; 03-22-2009 at 03:22 AM. Reason: Removed book, use one further down.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Referencing Weekly data from large raw data set

    Have a look at the attachment.

    I added some helper columns to the first sheet to determine week number and week day and then concatentated these into a unique string.
    Attached Files Attached Files
    Martin

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Referencing Weekly data from large raw data set

    Here it is a again with similar methodology applied to the Monthly Sheet, also made the erroneous dates like February 30th/31st no longer appear.
    Last edited by JBeaucaire; 03-22-2009 at 03:21 AM. Reason: Removed book, use one further down.

  5. #5
    Forum Contributor
    Join Date
    06-13-2008
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    277

    Re: Referencing Weekly data from large raw data set

    Hey thanks for your help guys!!!!

    well and truely saved me like 10 hours of playing around!

  6. #6
    Forum Contributor
    Join Date
    06-13-2008
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    277

    Re: Referencing Weekly data from large raw data set

    having a bit of trouble adapting this to my spreadsheet guys, I have used MRICE's method as it displays the week from monday - sunday, i just keep getting the same data no matter which week I am on,

    any ideas?
    Attached Files Attached Files

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Referencing Weekly data from large raw data set

    My standard INDEX/MATCH will do the same if you adjust the starting cell in E3 as I pointed out. You can also insert the missing monday at the top of your data sheet to get the same result...12/31/2007.

    Like so.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    06-13-2008
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    277

    Re: Referencing Weekly data from large raw data set

    Thanks JBeaucaire

    I see what you mean now about the E3 Cell!

    Thank you!

+ 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