+ Reply to Thread
Results 1 to 4 of 4

is blank date

  1. #1
    Registered User
    Join Date
    09-15-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    8

    is blank date

    I have a spreadsheet that looks for its data from another sheet.
    One of the columns is a date not all rows contain a date.

    When I reference from this column it correctly puts the date in, but for cells where there is no date it shows 00/01/1900

    I would like the cell to remain blank and not give me this 00/01/1900 date.

    Any ideas. I am sure it is a simple if statement but am hopeless at those.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: is blank date

    Hi,

    I assume you use something like this: In Sheet2 you have a formula like

    =Sheet1!A1

    instead you could try

    =IF(ISBLANK(Sheet1!A1),"",Sheet1!A1)

    cheers

  3. #3
    Registered User
    Join Date
    09-15-2009
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: is blank date

    Many Thanks,

    Exactly what I was after

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: is blank date

    To avoid the need for repetitive call (double evaluation) you might want to think about using a Custom Format on the column itself, ie leave formula as a single call:

    =Sheet1!A1

    but apply a Custom Format to those cells utilising the above function such that 0 (00/01/1900 in date terms) is neither displayed nor printed (ie appears as a blank), eg a Format of: dd/mm/yyyy;;

    (obviously alter the date format to suit)

+ 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