Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Calculating Dates :-( Help Plz

  1. #1
    New Member
    Join Date
    May 2002
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have a "boss" request I can't solve in a very large spreadsheet.

    We put "Date Opened" when a project is opened in one column. He wants the amount of days it's been opened calculated by the current date in another column (I did something like this.... =DATEDIF(F12,NOW(),"d"). However, when a "Date Closed" has been entered in another column, he wants it to calculate the time between Date Opened and Date Closed at that time. I can't seem to figure out how to make it switch to Date Closed from Current Date in the calculation.

    *help* ?



    Date Opened
    4/19/02

    Days Open
    18

    Date Closed


  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Denver, CO
    Posts
    1,743
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    assuming open date in A2, and closed date (if any) in B2, you could use
    =IF(ISBLANK(B2),TODAY()-A2,B2-A2)

    and format as general.

    Good luck

  3. #3
    New Member
    Join Date
    May 2002
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thank you so much!!! I'm saved!

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •