+ Reply to Thread
Results 1 to 2 of 2

Help with Formula to return running YTD total based on a date range

  1. #1
    Registered User
    Join Date
    12-29-2009
    Location
    Wilkes-Barre, PA
    MS-Off Ver
    Excel 2003
    Posts
    26

    Help with Formula to return running YTD total based on a date range

    I am trying to come up with a formula that does the following:

    In the attached worksheet - I would like row 61 (YTD row) return a YTD running total of that columns information based on todays date.

    So based on whatever the current date is, I want a YTD today based on the last week ending -

    for example - If today was 2/20/2012 - I want D61 to return the sum of D8 through D14
    but if the date is 2/27/2012 - i want D61 to return the sum of D8 through D15


    any suggestions?

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,278

    Re: Help with Formula to return running YTD total based on a date range

    Using the SUMPRODUCT function...

    =SUMPRODUCT((D8:D59)*($B$8:$B$59<=TODAY()))

    and copy across.


    HTH,
    Rich

+ 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