+ Reply to Thread
Results 1 to 8 of 8

IF statement to return empty value on false

  1. #1
    Forum Contributor
    Join Date
    07-30-2017
    Location
    texas
    MS-Off Ver
    2016
    Posts
    123

    IF statement to return empty value on false

    Greetings everyone.

    I am having a little difficulty getting the below formula to return a NULL(empty) value if false. I cannot seem to understand why my formula will not work... The true part of the statement works perfectly, however, when the code is False it puts the word FALSE in the cell...
    Please Login or Register  to view this content.
    Thanks in advance.
    David

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: IF statement to return empty value on false

    =IF('Wooden Bldg'!$B$5=TRUE,CONCATENATE(Data!$G$1," base cost ="),"")
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,603

    Re: IF statement to return empty value on false

    I think you have a bracket in the wrong place - try it like this:

    =IF('Wooden Bldg'!$B$5=TRUE,CONCATENATE(Data!$G$1," base cost ="),"")

    You can shorten it a little bit, by doing this:

    =IF('Wooden Bldg'!$B$5,CONCATENATE(Data!$G$1," base cost ="),"")

    As the IF function evaluates the comparison to either TRUE or FALSE.

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    07-30-2017
    Location
    texas
    MS-Off Ver
    2016
    Posts
    123

    Re: IF statement to return empty value on false

    Thanks for the prompt reply! When I apply the formula, the formula is changed by excel to:

    Please Login or Register  to view this content.
    In which case the word false is still appearing when the statement is in fact false. Any ideas

  5. #5
    Forum Contributor
    Join Date
    07-30-2017
    Location
    texas
    MS-Off Ver
    2016
    Posts
    123

    Re: IF statement to return empty value on false

    Thanks Pete_UK for the formula. You nailed it!

    also want to thank mehmetcik for your assistance also. I don't know what I would do without ya'll!

    Sincerely,
    David

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,603

    Re: IF statement to return empty value on false

    My formula is the same as that proposed by mehmetcik, so maybe you mis-typed his when you tried it.

    Glad you got it working though.

    Pete

  7. #7
    Forum Contributor
    Join Date
    07-30-2017
    Location
    texas
    MS-Off Ver
    2016
    Posts
    123

    Re: IF statement to return empty value on false

    Oops, my bad

    Thanks everyone!

    David

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,368

    Re: IF statement to return empty value on false

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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(And) Statement for sorting time stamp to return true or false value
    By engineerd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-28-2017, 03:12 PM
  2. Replies: 1
    Last Post: 12-13-2016, 12:23 AM
  3. [SOLVED] Multiple ifs to return more than true or false statement
    By Vince1199s in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-08-2016, 01:12 PM
  4. Replies: 4
    Last Post: 11-03-2014, 12:40 PM
  5. How to Leave Truly Empty Cell if Criteria for IF statement is FALSE
    By lowprofile in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2014, 01:24 PM
  6. How to return a value instead of TRUE/FALSE with IF,OR,AND statement
    By jgoat23 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-14-2014, 10:30 AM
  7. Replies: 9
    Last Post: 01-21-2013, 01:54 AM

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