+ Reply to Thread
Results 1 to 2 of 2

IF function not working as expected

  1. #1
    Registered User
    Join Date
    08-30-2018
    Location
    United states
    MS-Off Ver
    Office 365
    Posts
    5

    IF function not working as expected

    I am having issues getting a formula to work. The objective is to get a percentage to show on B only if there is data entered into D and E. I was attempting to do so with IF. The first issue is that I cant get it to rely on both cells being blank it will only work if one is. I believe this can be cured with nested IF but have not tried yet. If it is not possible I can work with the formula relying on D as the blank cell. The second most major issue is that the cell is automatically going to the equation and showing 100% when the input cells are blank. The Formula used is this: =IF(D10=" ","(636-((D11*12)+E11))/636"," ")

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

    Re: IF function not working as expected

    1. You should have copy/pasted the actual formula from the cell.
    2. You are using the word 'blank'; however, you are testing for a space, (" ") in the formula. A (" ") is an actual character just like the rest of those you see here.
    3. Your formula is saying: IF there is a space character in D10, insert the character string "(636-((D11*12)+E11))/636", * Notice that the quotes make this a character string, not a formula to be calculated/evaluated. *, ELSE write a space character (" ") to the cell with the formula.
    4. One way to check if two cells are empty, i.e. (""):
    Please Login or Register  to view this content.
    Last edited by protonLeah; 03-30-2019 at 03:35 PM.
    Ben Van Johnson

+ 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] Concatenate function not working as expected
    By katiedee1625 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-07-2018, 03:48 PM
  2. Aggregate Function Not Working As Expected
    By tjnelso in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-06-2016, 04:55 PM
  3. [SOLVED] worksheets function not working as expected
    By elmasguapo in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-15-2015, 05:18 AM
  4. Networkdays function not working as expected
    By Rem0ram in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 07-02-2014, 09:29 AM
  5. Replies: 6
    Last Post: 05-07-2012, 10:49 AM
  6. String not working as expected
    By WilyOne in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2011, 08:44 AM
  7. [SOLVED] Hyperlink Function not working as expected
    By Hari Prasadh in forum Excel General
    Replies: 2
    Last Post: 04-16-2005, 09:08 AM

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