IF statement to return empty value on false

1. 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.``
David

2. Re: IF statement to return empty value on false

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

3. 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. 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. 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. 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. Re: IF statement to return empty value on false

Thanks everyone!

David

8. Re: IF statement to return empty value on false

There are currently 1 users browsing this thread. (0 members and 1 guests)