+ Reply to Thread
Results 1 to 3 of 3

Change cell reference depending on date

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

    Change cell reference depending on date

    Hi Guys,

    The spreadsheet attached is a timesheet I use.

    The last column on the sheet (IV) keeps a running total of time spent on each project.

    I need a way that i can find out how much time was spent on projects in specific timeframes (eg 01/01/09 - 07/01/01, or 01/01/09 - 31/01/09)

    my initial thought is perhaps i can have a "from" cell and a "to" cell to input the dates i require and it will total the relevant cells in the rows below.

    PLEASE NOTE! This workbook uses VBA to auto hide any column which are dates previous to today's date so you may need to unhide them to view times logged.

    Any help would be greatly appreciated
    Attached Files Attached Files
    Last edited by freud1; 06-11-2009 at 08:07 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Change cell reference depending on date

    Yes you could do that... presumably you mean to alter IV ?

    If IV1 holds start date and IV2 end date then:

    Please Login or Register  to view this content.
    Rather than double evaluating the formula to return Null for 0 use a Custom Format on the IV9:IV125 range of: [hh]:mm:ss;;
    (this will display a blank for 0)

    The use of MAX/MIN is to cater for possibility of dates being selected that aren't listed in row 4 (as per your example of Jan 09)

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

    Re: Change cell reference depending on date

    Donkeyote!

    This is wonderful! thank you so much!

    Extra thanks for the Customer Format Trick!!!

+ 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