Forum Discussion

dcsaba89blk's avatar
dcsaba89blk
Copper Contributor
Dec 01, 2021

Excel incorrect formula evaluation

Calculating -(1-2)^2 which equals to -1

Wolfram Alpha correct answer: https://www.wolframalpha.com/input/?i=-%281-2%29%5E2

Google correct answer: https://www.google.com/search?q=-%281-2%29%5E2

Even VBA calculates it correctly: Range("A3") = - (1 - 2) ^ 2

 

But the Excel Function =-(1-2)^2 evaluates to 1 incorrectly.

 

Please fix it ASAP.

2 Replies

Resources