+ Reply to Thread
Results 1 to 5 of 5

Replacing 00/01/1900 dates with blanks

  1. #1
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Question Replacing 00/01/1900 dates with blanks

    Replacing 00/01/1900 dates with blanks

    Hi,

    In a column ‘A’ on Sheet1 I have a list of dates (in the format dd/mm/yyyy) and I am using the formula in column ‘A’ on Sheet2 e.g. =Sheet1!A2 copied down the column to populate the same dates, however, if a cell is empty on Sheet1 it will report the date 00/01/1900 in the corresponding cell in Sheet2.

    e.g.

    please see attached 'Example.xlsx' file

    Is there anyway to return a blank cell as opposed to retuning 00/01/1900 in column A on Sheet2 ?

    Many thanks in advance

    Regards

    Rob

    N.B. Excel Version 2007
    Last edited by robertguy; 09-10-2013 at 06:06 PM.
    Rob

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

    Re: Replacing 00/01/1900 dates with blanks

    If you use this custom format

    dd/mm/yyyy;;

    with the two semi-colons at the end then zero/blank date values will be displayed as blanks
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Re: Replacing 00/01/1900 dates with blanks

    Sorry

    see Example file attached


    Rob
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Re: Replacing 00/01/1900 dates with blanks

    daddylonglegs

    Many thanks it worked as required, many thanks for your prompt reply


    Regards


    Rob

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

    Re: Replacing 00/01/1900 dates with blanks

    or use
    =IF(Sheet1!A2="","",Sheet1!A2)
    "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. Replacing leading and trailing blanks and question marks
    By steve777888 in forum Excel General
    Replies: 4
    Last Post: 01-06-2013, 01:31 PM
  2. Excel 2007 : Dates before 1900
    By TonyRolfe in forum Excel General
    Replies: 3
    Last Post: 06-05-2011, 04:16 AM
  3. Pre 1900 dates
    By ThaiTrader in forum Excel General
    Replies: 3
    Last Post: 10-20-2008, 05:50 PM
  4. Dates pre 1900
    By tsmorynski in forum Excel General
    Replies: 1
    Last Post: 05-31-2007, 05:57 PM
  5. Dates before 1900
    By David Cleave in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2005, 09:06 AM

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