Microsoft KB Archive/25486

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 12:52, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Excel: Returning a Blank Cell When IF Command Returns FALSE

Last reviewed: December 1, 1994
Article ID: Q25486



1.x 2.20 3.00 4.00 MACINTOSH kbusage

SUMMARY

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 "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

KBSubcategory:

Additional words: 4.00


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.

Last reviewed: December 1, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.