Excel error - doesn't give correct answer

cpis0002

Board Regular
Joined
Jul 28, 2007
Messages
96
Hi,
This has happened to me more than once, and is extremely annoying of excel, hehe.

Basically, a formula doesn't give the correct answer. I have used the Evaluate Formula tool... and it breaks it down to a very simple addition and still gets the answer wrong.
That is: a few weeks ago, I had this problem... I did evaluate formula... and it came down to '=6+3'... and the answer it gave was '0'

Today, I am using this formula:
=IF(First="Yes",IF(Y795>=0,"Retained earnings","Accumulated losses"),IF(AND(W795>=0,Y795>=0),"Retained earnings","Accumulated losses"))

Using the Evaluate Formula Tool, I get:

=IF(FALSE,#N/A,"Retained earnings")

... so the answer should be "Retained earnings"... but it gives me '0'


Does anyone know why this happens?

The exact formula is used a few lines down and is based on exactly the same cells, and it gives the correct answer. Just sometimes, excel refuses to work on certain cells.

One way I found to fix this is by going on Tools, Options and increasing the iterations... but this may cause more problems due to future circular references.

Thanks for your help,
Chris
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,203,172
Messages
6,053,888
Members
444,692
Latest member
Queendom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top