+ Reply to Thread
Results 1 to 4 of 4

Basic Year to Date Formula

  1. #1
    Registered User
    Join Date
    03-25-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Basic Year to Date Formula

    I am trying to create spreadsheet that allows for a year to date calculation for sales of items by week and allow me to pick a week and show what sales number there has been in that week. Having not used excel daily for four years, I am a little rusty! I have a previous spreadsheet I am trying to copy from, but the formulas are far to complicated to copy.

    In row 5 from column L I have the week number to all 52 weeks.
    Row A, list all the items.
    I am looking to return in row J. At the top of this row, I can change the search week and it will show that weeks performance.
    When I put it in week 4, for example, I want a formula that adds all numbers for that item up to week 4. Likewise if I change the performance week to week 11, I need it to add all weeks up to that week. It will also need show week 52.

    Is there a formula out there for this?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Basic Year to Date Formula

    Hi and welcome to the forum

    i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Basic Year to Date Formula

    It actually sounds perfect for a pivot table....you can just add data to your data worksheet refresh the pivots....you don't need the week number in the pivot table you can group days by anything from minutes to years....to do weeks you would choose days and pick 7....but I agree Fdibbins....uploading for us to look at would make helping you a lot easier....HTH....
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Basic Year to Date Formula

    oops....a little re-statement here.....you need the week number in the data worksheet because pivot tables can group by weeks....sorry about that....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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