+ Reply to Thread
Results 1 to 6 of 6

Date showing 00/01/1900 and formula issue

Hybrid View

  1. #1
    Registered User
    Join Date
    07-28-2008
    Location
    montreal
    Posts
    59

    Question Date showing 00/01/1900 and formula issue

    Hi,

    I want to create a project management template with timelines.

    I want to input in column C the start date of the project and in column E the amount of days.

    From that, I want to have the End Date autofill in column D and to create a timeline.

    So far when I try to drag my formula down the file, it creates a timeline even through there's no date inserted.

    Help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Date showing 00/01/1900 and formula issue

    The problem is when your formula in the calendar find a blank in column C, that's less than the date in row 7, but then the forced blank "" in column D is counted as text which Excel treats as greater than a number, so the AND comes out as True.
    To avoid this, add a check that there's a date (a number) as well. In H9:
    Formula: copy to clipboard
    =IF(AND(ISNUMBER($C8),$C8<=H$7,$D8>=H$7),1,0)


    Hope that does what you need.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    07-28-2008
    Location
    montreal
    Posts
    59

    Re: Date showing 00/01/1900 and formula issue

    Thanks!

    1 more thing;

    If I remove the data in the Duration column, is there a way to remove the info from the End Date column and therefore reset the timeline ?

    Thanks

  4. #4
    Forum Contributor
    Join Date
    01-05-2017
    Location
    New York
    MS-Off Ver
    Office 2016
    Posts
    206

    Re: Date showing 00/01/1900 and formula issue

    Another option:

    =IF($C8="","",IF(AND($C8<=H$7,$D8>=H$7),1,0))

  5. #5
    Forum Contributor
    Join Date
    01-05-2017
    Location
    New York
    MS-Off Ver
    Office 2016
    Posts
    206

    Re: Date showing 00/01/1900 and formula issue

    You can put this in column D:

     =IF(OR(C8="",E8=""),"",C8+E8)
    and the timeline formula needs to be changed to this:

    =IF(OR($C8="",$E8=""),"",IF(AND($C8<=H$7,$D8>=H$7),1,0))

  6. #6
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Date showing 00/01/1900 and formula issue

    If you're using my formula, then you could just replace 'ISNUMBER($C8),' with 'ISNUMBER($D8),'
    combined with using Raphaelp's first formula above to blank the End Date if the Duration is removed.

+ 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. Timestamp showing 1/0/1900
    By cache22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-13-2016, 12:32 PM
  2. Timestamp showing 1/0/1900
    By cache22 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-13-2016, 09:37 AM
  3. Cell with Formula Not Showing Date - Only Showing Serial Number
    By jbb89777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-07-2016, 04:33 AM
  4. date pasted as 1/2/1900 in excel instead of 1/1/1900
    By ekkslatha in forum Excel General
    Replies: 4
    Last Post: 10-25-2014, 08:34 PM
  5. [SOLVED] date showing as (00/01/1900 12:00:00 AM)
    By legolas in forum Excel General
    Replies: 8
    Last Post: 05-06-2014, 06:47 AM
  6. Macro for changing the date from 02-Jan-1900 to 01-Jan-1900
    By Lavanya Anandan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2013, 07:08 AM
  7. [SOLVED] Excel date formula 2000 vs. 1900 conditional
    By sabrinigreen in forum Excel General
    Replies: 8
    Last Post: 11-06-2012, 08:48 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