Function Problems

How to Fix Excel POWER Function Error for Negative Values

Aamir Naveed AkramAamir Naveed Akram Nov 11, 2026 869 views

Question details

The user encounters an error when trying to use the POWER function on a negative base number with a fractional exponent.

How to Fix the Excel POWER Function Error for Negative Values
Product
Excel / WPS Spreadsheet
Device & OS
not provided
Scenario
Calculating powers or roots of negative numbers using the POWER formula.
Observed behavior
The POWER function returns an error, such as #NUM!, because a negative number raised to a fractional power results in a non-real (imaginary or complex) number.
Before you start

Verify your formula inputs to confirm if the base number is negative and the exponent is a decimal or fraction (like 0.5 for a square root). Spreadsheet software requires specific engineering functions to handle non-real results.

Solution 1Recommended

Use IMSQRT or IMPOWER for Complex Numbers

If you intentionally need to calculate the root of a negative number, use the built-in engineering functions designed specifically for complex numbers.

In mathematics, taking the square root (or any even fractional power) of a negative number produces an imaginary result. Standard functions like POWER are restricted to real numbers, which is why they return a #NUM! error.

1
Select the target cell

Click on the cell where you want the calculated result to appear.

2
Calculate a complex square root

To find the square root of a negative number, type =IMSQRT(cell_reference). For example, input =IMSQRT(-12) and press Enter.

3
Calculate other complex powers

For other fractional exponents, use the IMPOWER function by typing =IMPOWER(base, exponent), such as =IMPOWER(-12, 0.5), and press Enter.

Use IMSQRT or IMPOWER for Complex Numbers
Complex Number Format: The result from IMSQRT or IMPOWER will be returned as a text string representing a complex number in the format 'x+yi'.
Powerful Spreadsheet Formulas

Calculate Complex Math Functions in WPS Office

WPS Spreadsheet fully supports advanced mathematical and engineering functions, including POWER, IMSQRT, and IMPOWER, making complex calculations simple and error-free.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and open your workbook in the Spreadsheet module.
  2. 2. Access the function library: Navigate to the Formulas tab on the top ribbon and click on 'Insert Function'.
  3. 3. Search and apply IMPOWER: Search for the 'IMPOWER' function in the dialog box, input your negative base and exponent values, and click OK.
Fully compatible with Microsoft Excel formulas and the .xlsx file format.Comprehensive library of built-in math, statistical, and engineering functions.Lightweight, fast, and free to use for everyday data analysis.
microsoft office alternative - wps office

Frequently Asked Questions

Why does =POWER(-9, 0.5) return a #NUM! error?

The exponent 0.5 is mathematically equivalent to taking a square root. In real-number mathematics, you cannot take the square root of a negative number. Excel returns a #NUM! error to indicate that this calculation would result in an imaginary number, which standard math functions cannot process.

Can I use the caret (^) operator instead of the POWER function?

Using the caret operator (e.g., =-12^0.5) will result in the exact same #NUM! error as the POWER function when calculating the fractional power of a negative number. To handle these calculations, you must use engineering functions like IMSQRT or IMPOWER.

How do I calculate the cube root of a negative number without getting an error?

Although a cube root of a negative number has a valid real solution, using =POWER(A1, 1/3) with a negative base might still return an error depending on the application's math engine. To fix this reliably, calculate the positive root and apply the negative sign manually: type =-POWER(ABS(A1), 1/3).