+ Reply to Thread
Results 1 to 7 of 7

Display # of days between dates even if cell is blank or has "n/a" in it

  1. #1
    Registered User
    Join Date
    10-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Exclamation Display # of days between dates even if cell is blank or has "n/a" in it

    I have a log that I am working on and need some assistance.

    Row E reflects date received
    Row F reflects date to Engineer
    Row G reflects date back from engineering

    Each cell in these rows contains a date, "N/A', or is blank. I need a formula that can either include all 3 dates (E, F, & G) or just the dates in row F and G but it must also take into account if the cell is blank or contains "N/A" and still return # of days between cells.

    I suppose if needed row E could be used if F & G are either blank or contain "N/A"

    Anyone have idea for a formula for this?RFI LOG.xlsx
    Last edited by geturbanized; 11-18-2012 at 10:50 PM. Reason: change title name

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Display # of days between dates even if cell is blank or has "n/a" in it

    Hi geturbanized,

    Try below formula:-

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached:- RFI LOG.xlsx


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    10-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Display # of days between dates even if cell is blank or has "n/a" in it

    The above formula doesn't work for everything I need. It works when N/A is in a cell, but not when a cell is either blank or has a date entered. The above formula keeps counting well beyond when it should stop. I tested it and the majority of items turned into over 400 days when in actuality most of these items were closed.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Display # of days between dates even if cell is blank or has "n/a" in it

    Okay.. I tried copying your logic only from post #1. No issues.. suggest you to post your expected output manually and will try to obtain that using formulas. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    10-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Display # of days between dates even if cell is blank or has "n/a" in it

    Please see attachment - reflecting more of what I am looking at.
    Attached Files Attached Files

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Display # of days between dates even if cell is blank or has "n/a" in it

    I saw that column I has already got results fetched by formula.. so are those the number which you are looking for since I requested;-

    suggest you to post your expected output manually and will try to obtain that using formulas. thanks.
    Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  7. #7
    Registered User
    Join Date
    10-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Display # of days between dates even if cell is blank or has "n/a" in it

    I need to have the days open correctly populated whether or not I have all of the information or not, if the cell is empty, if the cell reflects "N/A". The key dates are dates received and/or dates to engineering.

+ 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