+ Reply to Thread
Results 1 to 3 of 3

Edate returning 12-2004 from blank cells

  1. #1
    Registered User
    Join Date
    10-03-2012
    Location
    Fresno, CA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Edate returning 12-2004 from blank cells

    I am using 2010 and have two columns: "testing performed" & "testing due". I am using Edate to return a date of five years in the future from the date in "testing performed". However, if the "testing performed" cell is blank, it returns a result of "12-2004" in the corresponding "testing due" cell.

    I have tried to make a conditional formatting New Rule of 'if testing performed is =0 then fill the cell with beige' so the erroneous date is not seen, but, am unsuccessful. I have tried the New Rule on either cell. Any ideas? I would think this would be a simple task, but then I have not used Excel for many many years and may just be missing the obvious :-)

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Edate returning 12-2004 from blank cells

    hi kimmymae, welcome to the forum. why not just do an IF formula to show blank if the 1st column is blank?

    =IF(A2="","",EDATE(A2,12*5))

    is that what you need?

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-03-2012
    Location
    Fresno, CA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Edate returning 12-2004 from blank cells

    Perfect, thank you!! I had tried IF but was putting a space between the quotes and tried "blank" but got errors. Thanks so much!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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