+ Reply to Thread
Results 1 to 2 of 2

Datedif pause?

  1. #1
    Registered User
    Join Date
    10-28-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    6

    Datedif pause?

    Hi All,
    I have a =datedif formula in my worksheet in column D and in column E I have a status of open, I need to be able to have the datedif count down or up with a status of open but when I enter a status of closed in column E I need the datedif in Column D to pause/stop so I can see how many days have passed, is this possible as I am very new to excel and still struggling to get to grips with it. Thank you

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Datedif pause?

    i tax it you are using today() in the datedif() formula. so it will always recalculate
    without code the easiest way would be to put a date in say col f when closed then use that instead
    something like

    =DATEDIF(Date1,if(e2="closed",f2,today()),"m")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. DateDif Average? Damn DateDif
    By UTCHELP in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-10-2012, 08:53 AM
  2. 64 bit Pause
    By SDruley in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2011, 05:19 AM
  3. Pause
    By rwgrietveld in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-04-2009, 02:55 AM
  4. Best way to pause?
    By Ramthebuffs in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2006, 11:48 PM
  5. Macros Pause
    By GWB Direct in forum Excel General
    Replies: 7
    Last Post: 05-10-2005, 05:06 PM

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