+ Reply to Thread
Results 1 to 4 of 4

Help with IF and Isblank function

  1. #1
    Registered User
    Join Date
    10-19-2011
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    5

    Help with IF and Isblank function

    I need help with the following formula. =IF(ISBLANK(U4)&(V4),(""),(IF(ISBLANK(V4),(T4-U4),(T4-V4)))). I almost have it correct but it is not giving me the end result I am looking for. I am working with dates. Column T is the first estimated day a part would be repaired. Column U is an extension to the first estimated day. Column V is the actual day the part arrived at my shop. The end result I am looking for is the time between the first estimated date and the delivery date. I would like for the function to tell me the time between the fist estimated date and the new updated date when the part has not arrived in my shop yet. If I only have the first estimated date entered and nothing else then the cell of days should be blank. My first attempted formula was =IF(ISBLANK(V4),(T4-U4),(T4-V4)). This gave me the right numbers except in the cells where I only have the first estimated date kept giving me a 40000 number instead of being blank. I hope this didn’t confuse you guys.

    Orginal Date New Date Actual Date Days
    11/19/2010 11/16/2010 #VALUE!
    3/18/2011 11/18/2011 -245
    1/21/2011 2/14/2011 #VALUE!
    2/4/2011 3/10/2011 #VALUE!
    2/4/2011
    2/20/2011
    5/12/2010 10/12/2010 8/12/2010 #VALUE!
    Attached Files Attached Files
    Last edited by bigmac1012345; 10-19-2011 at 12:36 PM.

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Help with IF and Isblank function

    They're not actually blank - they have a value of zero:
    Please Login or Register  to view this content.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help with IF and Isblank function

    In W4:

    =IF(AND(ISBLANK(U4),ISBLANK(V4)),"",(IF(ISBLANK(V4),(T4-U4),(T4-V4))))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    10-19-2011
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Help with IF and Isblank function

    Thanks for the help guys!

+ 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