Clearing Only Values from a Range, Leaving the Excel Formulas

Last reviewed: November 2, 1994
Article ID: Q27520
The information in this article applies to:
  • Microsoft Excel for Windows, versions 2.x, 3.0, 4.0, 5.0
  • Microsoft Excel for OS/2, versions 2.2, 2.21, and 3.0

If you are working with cells that contain both constant values and formulas, and you want to clear the constant values, leaving the formulas intact, use the Go To Special dialog box (Select Special dialog box in versions previous to version 5.00) to select the cells you want to clear. Once the appropriate cells have been selected, use the Edit Clear command as usual. To do this, follow the steps below:

  1. Select the range of cells containing the constant values and formulas. If the entire worksheet is to be cleared of values, select only a single cell.

  2. Microsoft Excel Version 5.00 ----------------------------

    From the Edit menu, choose Go To. In the Go To dialog box, choose Special.

    Microsoft Excel Versions Previous To Version 5.00 -------------------------------------------------

    From the Formula menu, choose Select Special.

  3. Select the Constants option, then select the check boxes for the type of constants you want to clear.

  4. Choose OK. The cells you want to clear are selected.

  5. From the Edit menu, choose Clear and choose the option that matches the data you want to clear. Choosing the Formulas option clears the contents of the selected cells only, so you need not worry about the formulas that are not selected.

  6. Choose OK.


KBCategory: kbusage
KBSubcategory:

Additional words: 2.00 2.0 2.01 2.1 2.10 2.2 2.21 2.20 3.00
3.0 4.00 4.0 5.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: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.