Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Excel 2013 results non-zero going to zero

Posted on 2014-04-29
3
381 Views
Last Modified: 2014-05-09
I'm working on a fairly complicated spreadsheet and am debugging various formulas.
Often I've seen this happen:
A cell which should not be zero, is showing zero.
When I run Evaluate Formula, it all works as expected and ends with a numerical value as expected and intended.  Then the final evaluation of the numerical value ends with a zero value in the cell.

What's going on here?

Here is one of the formulas:
=+IF(   AND(AX109<>0,     OR(    AND(O$15, P$15, AI110=0, AI109<>0, AO110=0,AO109<>0),    AND(O$11, P$11,NOT(AND(O$15,P$15)),  AI110=0,AI109<>0),    AND(O$13,  P$13,NOT(AND(O$15,P$15)),  AO110=0,AO109<>0),    AND(O$33,P$33,IF(O$34*BO109>BP109,TRUE,FALSE)), AND(O$18,P$18,Y110=0,Y109<>0),AND(O$24,P$24,AC110=0,AC109<>0),AND(O$31,P$31,AD110=0))),AX109,0)

In this case, the last term is operative:
AND(O$31,P$31,AD110=0))),AX109,0)

AND(O$31,P$31,AD110=0) is TRUE (all the other terms in the OR are FALSE)
So, in the result, we should see the value from AX109
And, indeed, the value in AX109 shows up in Evaluate Formula
The Evaluate Formula ends up with IF(TRUE,AX109,0) and next shows the value of AX109 only as a number and then when pressing Evaluate again, goes to zero.
The result in the cell is zero.
0
Comment
Question by:Fred Marshall
  • 2
3 Comments
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 40031443
Do you have any circular references mentioned in the status bar when you select any sheet?
0
 
LVL 26

Author Comment

by:Fred Marshall
ID: 40039649
Yes.  There are circular references mentioned in the status bar but they are being difficult to confirm/detect.  For example, if one runs the Formulas Check, it comes back OK.  And when it identifies a cell reference, I can't find the circular reference there....
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 40043872
That usually means that the cell in question refers to another cell which either has a circular reference or refers to one that does (and so on). Unfortunately this can be a nightmare to track down in complex worksheets - but it would certainly explain the behaviour you are seeing.

Can you post the workbook in question?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question