Solved

# Problem with Excel Formula Calculation

Posted on 2011-10-23
202 Views
Hi,

I am working on an excel worksheet and I am encountering a circular reference error. I have attached the Excel spreadsheet. I encounter the problem when I change the formula in cell B8  to test for another condition (W8 <> 0) in the IF statement. The formula works fine until I add W8 to the statement.

=IF(AND(I8>=\$AM\$6,R8<>0,S8<>0,T8<>0,U8<>0,W8<>0,X8<>0),1,IF(AND(I8<=\$AM\$7,R8<>0,S8<>0,T8<>0,U8<>0,W8<>0,X8<>0),-1,0))
Excel-Question.xlsx
0
Question by:philpre

LVL 5

Accepted Solution

Try changing "Maximum iterations"
Tools->Options
"Calculation" tab
Tick "Iteration"
Set "Maximum iterations" [default 100] = 1000
Set "Maximum change" [default 0.001] = 0.00001
OK
0

Author Closing Comment

Thank you!
0

## Featured Post

### Suggested Solutions

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…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.