+ Reply to Thread
Results 1 to 6 of 6

Display 'Date' cell as blank instead of default year 1900

  1. #1
    Registered User
    Join Date
    11-19-2009
    Location
    Wrexham, Wales
    MS-Off Ver
    Excel 2003
    Posts
    8

    Display 'Date' cell as blank instead of default year 1900

    Three columns.
    A - Date last checked
    B - Due Date
    C - Actual Date checked

    Currently column B is formatted to Date and simply has =A+84 and will display a date 3 months in future.. Great..

    However if there is no date in column A, then column B displays a default 1900 date.. Is there a way of making this blank if there is no date in col A?

    Thanks in advance.....
    Last edited by charger100; 11-19-2009 at 05:22 PM.

  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: Display 'Date' cell as blank instead of default year 1900

    =if(isnumber(a2),a2+84,"")
    "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

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Display 'Date' cell as blank instead of default year 1900

    TRY

    =iF(a2="","",a2+84)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    11-19-2009
    Location
    Wrexham, Wales
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Display 'Date' cell as blank instead of default year 1900

    Thanks.. But doing this now - ive missed telling the whole story..
    Col A - Date Completed
    Col B - Date Due (in 84 days of date in Col A)
    Col C - Actual Date Completed

    If there is no date in A, then i want B to be blank.
    If there is a date in A, then i want B to display future date i.e. =A+84
    If there is a date in C then i want B to display OK

    You can tell im simply a novice! Thankyou in advance.....

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Display 'Date' cell as blank instead of default year 1900

    Try

    =IF(A2="","",IF(C2="",A2+84,"OK"))

  6. #6
    Registered User
    Join Date
    11-19-2009
    Location
    Wrexham, Wales
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Display 'Date' cell as blank instead of default year 1900

    Fantastic, - Thanks very much to all who replied....

+ 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