+ Reply to Thread
Results 1 to 4 of 4

IF Cell is blank, calculate, if cell isn't blank, leave blank

  1. #1
    Registered User
    Join Date
    10-24-2005
    Location
    Lake Forest, CA
    MS-Off Ver
    2007
    Posts
    56

    Cool IF Cell is blank, calculate, if cell isn't blank, leave blank

    I have this
    =IF(ISBLANK(L2)=TRUE,AA2-I2,L2-I2)

    If L2 Complete Date is blank it calculates the number of days between today AA2 and the Log date I2

    Now I've been asked that if Complete date is not blank, then make my result be a blank

    Maybe I just need more coffee (_)3
    Last edited by amthyst826; 09-04-2015 at 11:00 AM. Reason: Resolved

  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: IF Cell is blank, calculate, if cell isn't blank, leave blank

    Either replace the last part of your formula with "" to give:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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


    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

  3. #3
    Registered User
    Join Date
    10-24-2005
    Location
    Lake Forest, CA
    MS-Off Ver
    2007
    Posts
    56

    Re: IF Cell is blank, calculate, if cell isn't blank, leave blank

    Awesome! Thanks so much

  4. #4
    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: IF Cell is blank, calculate, if cell isn't blank, leave blank

    You're welcome and thanks for the rep.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

+ 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. Calculate differnce between 2 dates, but if 1 date cell is blank leave cell blank
    By Vicious00013 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2014, 11:31 PM
  2. Leave cell blank if a range is blank
    By Dibbley247 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2014, 06:30 AM
  3. IF Statement to leave cell blank if multiple cells are all blank
    By sweeteri in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-14-2014, 12:02 PM
  4. [SOLVED] help on a simple if text says this input that, if cell is blank leave it blank
    By Rec1ne in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2013, 10:43 AM
  5. Replies: 2
    Last Post: 09-20-2013, 01:43 PM
  6. [SOLVED] Simple pull exact text from cell, if blank it pulls up a 0. How to leave it as blank?
    By sharpmel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2012, 02:20 PM
  7. Replies: 4
    Last Post: 07-15-2008, 01:42 PM

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