XL98: Error Saving File That Contains COUNT in WK1 Format

Last reviewed: February 2, 1998
Article ID: Q175852

The information in this article applies to:

  • Microsoft Excel 98 Macintosh Edition

SYMPTOMS

When you save a worksheet in Microsoft Excel 98 Macintosh Edition, you may receive an error message similar to the following:

   A formula in a cell (Cell:B5) could not be converted because it
   contains a function that is not available in the file format to which
   you are saving. If you continue the save, the formula and result will
   be saved, but the function itself will be converted to an error value.

You receive this error message even though the worksheet does not contain any functions that are not available in this file format.

When you reopen the file, the formula in the indicated cell is gone. Only the value returned by the formula remains in the cell.

CAUSE

This problem may occur when the following conditions are true:

  • You are saving the active worksheet in the Lotus 1-2-3 WK1 format.

    -and-

  • The worksheet you are saving contains at least one formula that uses the COUNT function.

WORKAROUND

To work around this problem, use either of the following methods:

  • Before you save the worksheet, replace all references to the COUNT function with references to the COUNTA function. The problem described in this article does not occur when the worksheet contains formulas that use the COUNTA function.

    You can quickly convert all of the references by following these steps:

    1. On the Edit menu, click Replace.

    2. In the Find What box, type "COUNT" (without the quotation marks).

          In the Replace With box, type "COUNTA" (without the quotation
          marks). Click to select the Match Case check box, and then click
          Replace All.
    

    All references to COUNT are converted to references to COUNTA.

    -or-

  • Save the worksheet in the Lotus 1-2-3 WK3 or WK4 format. When you do this, the problem does not occur.

For more information about the COUNT and COUNTA functions, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q165260
   TITLE     : XL97: COUNTA Function Changed to COUNT

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

You can use the COUNT function to count the number of numbers in a range of cells. The COUNTA function allows you to count the number of nonblank cells in a range of cells. For example, if you have the following data

   A1: 1
   A2: 2
   A3:
   A4: x
   A5: y

the formula =COUNT(A1:A5) returns the value 2. This is true because there are two numbers in the range of cells. The formula =COUNTA(A1:A5) returns the value 4 because there are four nonblank cells in the range.

The COUNT and COUNTA functions are supported by all versions of Lotus 1-2-3, so you should not receive an error message when you save a worksheet that contains the COUNT function in the WK1 format.


Additional query words: XL98 .WK1 .WK3 .WK4
Keywords : xl123quattro xlformula xlloadsave
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbbug
Solution Type : kbworkaround


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: February 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.