The information in this article applies to:
SUMMARY
When you raise a negative value to a fractional exponent in Microsoft
Excel, you may receive a #NUM error value. This error value may occur
because the solution may not be defined in the real number system. To
calculate the nth root of a negative number, use the appropriate formula
below.
MORE INFORMATIONCalculating Even Roots of Negative NumbersAlthough even roots of negative numbers are undefined in the real number system, they do have solutions in the complex number system. To calculate these roots in Microsoft Excel, use complex number functions. The following example demonstrates how to calculate the complex formula -25^(1/8):
Cell A2 returns the value 1.381522133 + 0.572245204i. Note: This formula only works for roots that are a power of 2 (that is, 2, 4, 8,...). For even roots that are not necessarily powers of 2, use the following formula:
To use the above formula:
Calculating Odd Roots of Negative NumbersOdd roots do exist in a real number system and can be calculated by taking the odd root of the absolute value of the negative number and multiplying the result by -1 (negative one). For example, to calculate the formula - 25^(1/3), follow the steps below:
This formula will return -2.92402. If you have a column containing mixed positive and negative numbers, and you want to calculate the nth odd roots for each of them, use the following formula =IF(ISERROR(CellRef^(1/3)),(ABS(CellRef)^(1/3)*-1),CellRef^(1/3)) where "CellRef" is the reference to the cell that contains the number. In this formula, CellRef should reference the first cell in your column of negative and positive numbers. To get results for each of the numbers in your column of numbers, fill the formula down as needed. REFERENCES
"Mathematical Applications," Ronald J. Harshbarger and James J. Reynolds,
D.C. Heath and Company, 1985, Massachusetts.
Additional query words: 1.0 1.00 1.03 1.04 1.06 1.5 1.50 2.0 2.00 2.01 2.1 2.10 2.2 2.20 2.21 3.0 4.00a 5.0 calculation error
Keywords : |
Last Reviewed: March 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |