+ Reply to Thread
Results 1 to 6 of 6

Custom Date Formats 00/01/900

  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    Londinium
    MS-Off Ver
    Excel 2007
    Posts
    13

    Lightbulb Custom Date Formats 00/01/900

    Good evening Fellow Forum Members...

    I have a column of dates that are a result of a vlookup from a different sheet.

    The results are as something like the below

    00/01/1900
    00/01/1900
    00/01/1900
    21/01/2014
    21/02/2014
    23/01/2014
    00/01/1900
    00/01/1900

    Is there a way to use custom formatting to change the 00/01/1900 to either a blank or zero and still keep my other valid dates and if so how?

    Look forward to your responses.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Custom Date Formats 00/01/900

    Try to apply condition as below structure:
    =IF(VLOOKUP(...)=0,"",TEXT(VLOOKUP(...),"dd/mm/yyyy"))
    Quang PT

  3. #3
    Registered User
    Join Date
    03-07-2012
    Location
    Londinium
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Custom Date Formats 00/01/900

    HI There,

    Similarly an if statement like the following did work

    =IF('Original Data'!A1=0," ",'Original Data'!A1) If i used it in the "Linked from Original" sheet

    I was hoping to avoid If statements. And use the Cell format box.

    Any further ideas on how this could be done. I tried the custom formats with little success.

    I have attached an example and the vlookup sheet highlights my challenge
    Attached Files Attached Files

  4. #4
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Custom Date Formats 00/01/900

    This shoudl work

    dd-mm-yy;;0;
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  5. #5
    Registered User
    Join Date
    03-07-2012
    Location
    Londinium
    MS-Off Ver
    Excel 2007
    Posts
    13

    Smile Re: Custom Date Formats 00/01/900

    Arrrrghhh ,I Hate it when it is so simple.:-)

    Thank you that worked perfectly.

    Also helped me understand some basic skills on the custom cell formats.

  6. #6
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Custom Date Formats 00/01/900

    You are welcome.
    Please add rep if you happy with the solution
    The basic
    There for "categories"
    1;2;3;4
    1- for positive values
    2- for negative
    3-for 0 values
    and 4 for Text.

+ 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. Date Formats:Custom
    By Quagga in forum Excel General
    Replies: 1
    Last Post: 07-18-2011, 06:05 AM
  2. Date and Time picker custom formats
    By Newbie_Nick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2010, 08:58 AM
  3. Remove custom formats
    By KausBorealis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-27-2008, 12:55 PM
  4. Re: Custom Formats
    By Amanda Cooper in forum Excel General
    Replies: 0
    Last Post: 05-11-2005, 03:06 PM
  5. Custom date formats
    By Bhupinder Rayat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2005, 04:06 PM

Tags for this Thread

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