XL98: New A Functions in Microsoft Excel 98 Macintosh Edition

Last reviewed: February 27, 1998
Article ID: Q181709
The information in this article applies to:
  • Microsoft Excel 98 Macintosh Edition

SUMMARY

Microsoft Excel 98 Macintosh Edition includes a new set of functions that are designed to be 100 percent compatible with a similar set of functions in Lotus 1-2-3. This article describes the new functions, which are called A functions (because the function names all end in A).

MORE INFORMATION

The new A functions in Microsoft Excel 98 Macintosh Edition are the following:

   AVERAGEA
   MINA
   MAXA
   STDEVA
   STDEVPA
   VARA
   VARPA

In general, the A functions treat text and logical values differently than the equivalent non-A functions treat text and logical values in Microsoft Excel. The breakdown is listed in the following table.

   Value type            Non-A functions       A functions
   ------------------------------------------------------------------

   Numbers               Treated normally      Treated normally
   Text                  Text is ignored       Text has a value of 0
   TRUE Logical Value    TRUE is ignored       TRUE has a value of 1
   FALSE Logical Value   FALSE is ignored      FALSE has a value of 0

Each A function is described in detail in the following sections.

AVERAGEA and AVERAGE

The AVERAGEA function returns the average of its arguments, including numbers, text, and logical values. This differs from the AVERAGE function, which returns only the average of arguments that are numbers; text and logical values are ignored by the AVERAGE function.

Example:

If you type the following example data

   A1: 1
   A2: 2
   A3: 6
   A4: TRUE
   A5: hello

the formula =AVERAGEA(A1:A5) returns the value 2, because TRUE has a value of 1, the text "hello" has a value of 0, the sum of 1, 2, 6, 1, and 0 is 10, and 10 divided by 5 is 2.

The formula =AVERAGE(A1:A5) returns the value 3, which is the average of the numbers in the range.

MINA and MAXA, and MIN and MAX

The MINA and MAXA functions return the minimum and maximum values in a list of arguments, including numbers, text, and logical values. The standard MIN and MAX functions return the minimum and maximum values in a list of arguments, but they consider only numeric values. Text and logical values are ignored by the MIN and MAX functions.

Using the example data in the AVERAGEA and AVERAGE section, consider the following formulas.

   Formula       Return value   Reason
   --------------------------------------------------------------------

   =MINA(A1:A5)  0              The text "hello" has a value of 0.
   =MIN(A1:A5)   1              The smallest numeric value in the range
                                is 1.
   =MINA(A1:A3)  1              The range includes only numeric values,
                                and the smallest value is 1.
   =MAXA(A1:A5)  6              The largest value in the range is 6.
   =MAX(A1:A5)   6              The largest value in the range is 6.

STDEVA and STDEV

The STDEVA function returns an estimate of the standard deviation of a sample. If the sample includes text or logical values, they are included in the standard deviation calculation. The STDEV function also returns the standard deviation of a sample, but only numeric values in the sample are considered.

Using the sample data in the AVERAGEA and AVERAGE section, the formula =STDEVA(A1:A5) returns the value 2.3452; the formula =STDEV(A1:A5) returns the value 2.6458. The difference between the results is due to the fact that the STDEVA function considers all values in the range when creating its sample, not just the numeric values.

STDEVPA and STDEVP

The STDEVPA function returns the standard deviation of the entire population of a range, including text and logical values. The STDEVP function returns the standard deviation of all of the numeric values in the range.

Using the sample data in the AVERAGEA and AVERAGE section, the formula =STDEVPA(A1:A5) returns the value 2.0976, and the formula =STDEVP(A1:A5) returns the value 2.1602.

VARA and VAR

The VARA function returns an estimate of the variance of a sample, including text and logical values. The VAR function returns an estimate of a sample using only numeric values contained in the sample.

VARPA and VARP

The VARPA function returns the variance of a range of values, including text and logical values. The VARP function also returns the variance of a range of values, but only numeric values are used in the calculation.

REFERENCES

For more information about the A functions, click the Index button in Microsoft Excel Help, type the following text

   maxa

click Show Topics, and then double-click the selected text to go to the "MAXA" topic.

Use this procedure for information about the other A functions.


Additional query words: XL98 1-2-3 purecount tfe transition evaluation
Keywords : xl123quattro xlformula xlmac kbualink97 kbdta
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbinfo


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