ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Keep cell blank if condition is false in IF function (https://www.excelbanter.com/excel-discussion-misc-queries/56693-keep-cell-blank-if-condition-false-if-function.html)

ruthslaughter

Keep cell blank if condition is false in IF function
 
How do I keep the cell blank if the condition is false. Even if I don't put
anything in the false condition it keeps putting False in the cell, I want to
leave it blank.

bpeltzer

Keep cell blank if condition is false in IF function
 
=if(condition,value_if_true,"")

"ruthslaughter" wrote:

How do I keep the cell blank if the condition is false. Even if I don't put
anything in the false condition it keeps putting False in the cell, I want to
leave it blank.


Jon Peltier

Keep cell blank if condition is false in IF function
 
Note that this makes the cell look blank, but Excel still treats it as if it
contains text. This has implications if the cell is used for subsequent
calculations or as a chart's source data.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

"bpeltzer" wrote in message
...
=if(condition,value_if_true,"")

"ruthslaughter" wrote:

How do I keep the cell blank if the condition is false. Even if I don't
put
anything in the false condition it keeps putting False in the cell, I
want to
leave it blank.





All times are GMT +1. The time now is 10:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com