+ Reply to Thread
Results 1 to 7 of 7

Adding an additional IF function to my existing formula to return a blank

  1. #1
    Registered User
    Join Date
    10-28-2015
    Location
    Miami
    MS-Off Ver
    2010
    Posts
    4

    Adding an additional IF function to my existing formula to return a blank

    Hello,

    I Hope someone will be able to help me.

    I need column x to return a blank if column y has a value.

    Here is the existing formula I have currently in column X

    =IF(OR(ISBLANK(Formulas!A$17),ISBLANK(K5)), "", Formulas!A$17-K5)

    Here is a screen shot. As you can see both column x and y have a value but I need column X to be blank if Column Y has a value.
    Capture.JPG

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Adding an additional IF function to my existing formula to return a blank

    HI, welcome to the forum

    It is always better to upload a sample WorkBook, rather than pic, we cant really work with pics.

    having said that, your formula seems to refer to cells outside of what you show, and what you show, is not refered to in your formula?
    =IF(OR(ISBLANK(Formulas!A$17),ISBLANK(K5)), "", Formulas!A$17-K5)

    Perhaps this will help though?
    =IF(OR(Formulas!A$17="",K5="",Y5=""), "", Formulas!A$17-K5)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-28-2015
    Location
    Miami
    MS-Off Ver
    2010
    Posts
    4

    Re: Adding an additional IF function to my existing formula to return a blank

    Fdibbins,

    Thanks for the quick response. Unfortuneately the formula you provided didn't do the trick.

    I attached a sample workbook so maybe that might help. Thank you for your time and effort.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Adding an additional IF function to my existing formula to return a blank

    maybe this?
    =IF(OR(Formulas!A$17="",K3="",Y3<>""), "", Formulas!A$17-K3)

  5. #5
    Registered User
    Join Date
    10-28-2015
    Location
    Miami
    MS-Off Ver
    2010
    Posts
    4
    Quote Originally Posted by FDibbins View Post
    maybe this?
    =IF(OR(Formulas!A$17="",K3="",Y3<>""), "", Formulas!A$17-K3)
    Im going to try this first thing in the morning. Ill let you know how it goes. Thanks again!

  6. #6
    Registered User
    Join Date
    10-28-2015
    Location
    Miami
    MS-Off Ver
    2010
    Posts
    4

    Re: Adding an additional IF function to my existing formula to return a blank

    You, my friend, you're a genius.

    Thanks so much! It worked!!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Adding an additional IF function to my existing formula to return a blank

    Thank you for the kind words and the feedback

+ 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. [SOLVED] Adding IF function to an existing formula (replace call with 0% if range is blank)
    By jholiday78 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-25-2015, 12:12 PM
  2. Additional condition to existing formula
    By pauldaddyadams in forum Excel General
    Replies: 2
    Last Post: 04-09-2015, 08:44 AM
  3. [SOLVED] need to add additional criteria to existing formula
    By Mattr177 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-31-2014, 12:12 AM
  4. [SOLVED] Adding additional selection criteria to existing Macro
    By Mogpot1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-23-2013, 10:29 AM
  5. Adding IF function to existing (complex) Formula
    By NDRYNWA in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-24-2013, 06:56 AM
  6. [SOLVED] Additional criterion date function to be added to existing formula
    By Christopherdj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2012, 02:07 AM
  7. Replies: 4
    Last Post: 01-27-2012, 10:57 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