+ Reply to Thread
Results 1 to 6 of 6

Adding values reference to date today

  1. #1
    Registered User
    Join Date
    11-19-2009
    Location
    CA
    MS-Off Ver
    Excel 2007
    Posts
    62

    Adding values reference to date today

    Hi,

    I trying to get a faster way on how to sum numbers reference to the current date. Basically I have the following data

    a,b,c,d,e,f,g,h,J
    name,12/11/09,12/12/09,12/13/09,12/14/09,12/15/09,12/16/09,12/17/09,total
    thomas,3,2,0,1,10,5,8,
    jefferson,2,3,4,5,6,7,8,


    I wanted to get the sum of the rows only upto the current date.
    So if today's date is 12/13/09 column J should have total of = 5 and 7 for thomas and jefferson respectively. Tomorrow's date should include numbers of 12/14/09.
    cant seem to work around with the today() function.

    Hope you could shed your thoughts

    thanks
    Last edited by xmoore; 12-14-2009 at 11:59 PM.

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Adding values reference to date today

    Can do this in I2
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Registered User
    Join Date
    11-19-2009
    Location
    CA
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Adding values reference to date today

    Thanks rwgrietveld,

    It did worked. However let me elaborate it further. My mistake should have given this sample instead.
    Need to sum only what the column reference and up to todays date only

  4. #4
    Registered User
    Join Date
    11-19-2009
    Location
    CA
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Adding values reference to date today

    the attachment
    Attached Files Attached Files

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Adding values reference to date today

    Use "<="

  6. #6
    Registered User
    Join Date
    11-19-2009
    Location
    CA
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Adding values reference to date today

    Thanks davesexcel,
    I already incorporated "<=" to the formula.
    SUMIF($D$1:$W$1,"<="&TODAY(),D3:W3)

    I was having difficulty in summing selective columns.For instance I only need the sum of actual column.
    Tried to tweak the formula a bit to the following, which looks to be computing fine, though I still need to verify
    SUMIF($E$1:$W$1,"<="&TODAY(),E3:W3)

    thanks guys.

+ 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