+ Reply to Thread
Results 1 to 5 of 5

IF function logical test is blank

  1. #1
    Registered User
    Join Date
    10-08-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    7

    IF function logical test is blank

    I need an IF function with the logical test being that the cell has no value...

    Cell B1 needs to either be blank or Underbilled depending on whether the neighboring cell has a value.
    =IF(B2 is blank, "", "Underbilled") How do write the logical statement?
    B2 has this formula =IF(SUM($K$90+January!$D$96)>0,$K$90+January!$D$96,"")

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: IF function logical test is blank

    =IF(ISBLANK(B2), "", "Underbilled")
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    10-08-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: IF function logical test is blank

    That did not work. It always comes back with "Underbilled" even though the cell is blank.

    I think I came upon the solution though -

    =IF(B2="","","Underbilled")

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: IF function logical test is blank

    Check your worksheet for spaces in B. Blanks (spaces) are not empty.

  5. #5
    Registered User
    Join Date
    10-08-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: IF function logical test is blank

    What do you mean spaces in B?
    Spaces in the formula in B?
    Or a space between B2 as in B 2.

+ 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. IF function performing logical test on multiple cells
    By Omni in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 12-01-2012, 01:37 AM
  2. IF function - Logical test
    By TomBP in forum Excel General
    Replies: 6
    Last Post: 04-28-2010, 06:07 AM
  3. Logical test function problem
    By VwmanTom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2008, 07:19 PM
  4. Logical test function problem
    By VwmanTom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2008, 10:58 PM
  5. [SOLVED] A logical test in the If function for blank, i.e., If blank?
    By egii in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-01-2006, 03:40 PM

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