+ Reply to Thread
Results 1 to 3 of 3

Worksheet Formula

  1. #1
    Registered User
    Join Date
    07-19-2006
    Posts
    4

    Worksheet Formula

    Hi All, Need some help please!!

    I'm trying to calculate the no. of days in between start date and end date. I can do a simple formula to work that out but i need to tell it that if the end date is blank, then to use todays date.

    I know how to do it sub-consiously, but my brain just will not work!!!

    Any ideas???

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064
    Assuming Column A start date and Column B end date then

    =IF(ISBLANK(B1)=TRUE,TODAY()-A1,B1-A1)

    should produce what you want
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    07-19-2006
    Posts
    4
    Cheers Bud,

    Means I've got to do some work now!!

+ 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