Microsoft KB Archive/25486: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 18: | Line 18: | ||
== SUMMARY == | == SUMMARY == | ||
When the | When the "value_if_false" argument is omitted from the IF() command and the "logical_test" argument returns FALSE, the word "FALSE" is displayed in the cell containing the formula. | ||
To display a blank cell when the | To display a blank cell when the "logical_test" argument returns FALSE, enter two quotation marks (without a space between them) in place of the optional "value_if_false" argument, as shown below: | ||
<pre> =IF(logical_test,value_if_true, | <pre> =IF(logical_test,value_if_true,"") | ||
</pre> | </pre> | ||
For more information on the IF() command, see pages 227-228 in the | For more information on the IF() command, see pages 227-228 in the "Microsoft Excel Function Reference," version 4.0. If you are using version 3.0, see pages 125-126 (form 1) in the "Microsoft Excel Function Reference" version 3.0. If you are using Excel 2.20, see pages 43-44 in the "Microsoft Excel Functions and Macros" version 2.2. | ||
|} | |} | ||
Line 38: | Line 38: | ||
<br /> | <br /> | ||
<br /> | <br /> | ||
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED | THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. | ||
</blockquote> | </blockquote> | ||
|} | |} |
Latest revision as of 13:52, 21 July 2020
Excel: Returning a Blank Cell When IF Command Returns FALSELast reviewed: December 1, 1994 |
1.x 2.20 3.00 4.00 MACINTOSH kbusage SUMMARYWhen the "value_if_false" argument is omitted from the IF() command and the "logical_test" argument returns FALSE, the word "FALSE" is displayed in the cell containing the formula. To display a blank cell when the "logical_test" argument returns FALSE, enter two quotation marks (without a space between them) in place of the optional "value_if_false" argument, as shown below: =IF(logical_test,value_if_true,"") For more information on the IF() command, see pages 227-228 in the "Microsoft Excel Function Reference," version 4.0. If you are using version 3.0, see pages 125-126 (form 1) in the "Microsoft Excel Function Reference" version 3.0. If you are using Excel 2.20, see pages 43-44 in the "Microsoft Excel Functions and Macros" version 2.2. |
KBCategory: kbusage |
Last reviewed: December 1, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.