Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 138
Default Wow, never seen this error before (Excel science experiment)


Try this out for yourself in a new worksheet:

Here is the required information:

A3: Type some text
A4-A14: 2101
F4-F14: =date(2005,8,5)
I4-I14: 23974
K4-K14: 42
N3: Type some text
N4 [drag to N14]: =IF(A4=A3,N3+330,IF(M4="",(F4+330),((M4+330))))
O4 [drag to )14]:
=IF(ISERROR(IF(A4=A3,(O3+((N4-N3)*L4)),IF(((N4-TODAY())*L4)<0,"OVERDUE",((N4-TODAY())*L4)+I4))),((N4-N3)*L4),IF(A5=A4,(O4+((N5-N4)*L5)),IF(((N5-TODAY())*L5)<0,"OVERDUE",((N5-TODAY())*L5)+I5)))

Put the formula in O4 and drag down to O14 and then calculate the
workbook (F9). Alternately, keep pressing shift-F9 to watch the results
roll upward for infinity.

Strange strange strange...

Whats causing this? Is it documented? Can it be used somehow?

-Sean

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Wow, never seen this error before (Excel science experiment)

A circular reference.
Your formula in O4 refers to the value of cell O4.

"S Davis" wrote in message
oups.com...

Try this out for yourself in a new worksheet:

Here is the required information:

A3: Type some text
A4-A14: 2101
F4-F14: =date(2005,8,5)
I4-I14: 23974
K4-K14: 42
N3: Type some text
N4 [drag to N14]: =IF(A4=A3,N3+330,IF(M4="",(F4+330),((M4+330))))
O4 [drag to )14]:
=IF(ISERROR(IF(A4=A3,(O3+((N4-N3)*L4)),IF(((N4-TODAY())*L4)<0,"OVERDUE",((N4-TODAY())*L4)+I4))),((N4-N3)*L4),IF(A5=A4,(O4+((N5-N4)*L5)),IF(((N5-TODAY())*L5)<0,"OVERDUE",((N5-TODAY())*L5)+I5)))

Put the formula in O4 and drag down to O14 and then calculate the
workbook (F9). Alternately, keep pressing shift-F9 to watch the results
roll upward for infinity.

Strange strange strange...

Whats causing this? Is it documented? Can it be used somehow?

-Sean



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 138
Default Wow, never seen this error before (Excel science experiment)

Yeah, I guess I've just never seen excel take it and run with it like
that. The fact it works is weird.

Stephen Bye wrote:
A circular reference.
Your formula in O4 refers to the value of cell O4.

"S Davis" wrote in message
oups.com...

Try this out for yourself in a new worksheet:

Here is the required information:

A3: Type some text
A4-A14: 2101
F4-F14: =date(2005,8,5)
I4-I14: 23974
K4-K14: 42
N3: Type some text
N4 [drag to N14]: =IF(A4=A3,N3+330,IF(M4="",(F4+330),((M4+330))))
O4 [drag to )14]:
=IF(ISERROR(IF(A4=A3,(O3+((N4-N3)*L4)),IF(((N4-TODAY())*L4)<0,"OVERDUE",((N4-TODAY())*L4)+I4))),((N4-N3)*L4),IF(A5=A4,(O4+((N5-N4)*L5)),IF(((N5-TODAY())*L5)<0,"OVERDUE",((N5-TODAY())*L5)+I5)))

Put the formula in O4 and drag down to O14 and then calculate the
workbook (F9). Alternately, keep pressing shift-F9 to watch the results
roll upward for infinity.

Strange strange strange...

Whats causing this? Is it documented? Can it be used somehow?

-Sean


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Wow, never seen this error before (Excel science experiment)

You have "Iterations" turned on.

TOOLS
OPTIONS
CALCULATIONS Tab
Uncheck "Iterations"
OK

Now Excel should behave "normally" towards Circular References.

HTH,
Elkar


"S Davis" wrote:

Yeah, I guess I've just never seen excel take it and run with it like
that. The fact it works is weird.

Stephen Bye wrote:
A circular reference.
Your formula in O4 refers to the value of cell O4.

"S Davis" wrote in message
oups.com...

Try this out for yourself in a new worksheet:

Here is the required information:

A3: Type some text
A4-A14: 2101
F4-F14: =date(2005,8,5)
I4-I14: 23974
K4-K14: 42
N3: Type some text
N4 [drag to N14]: =IF(A4=A3,N3+330,IF(M4="",(F4+330),((M4+330))))
O4 [drag to )14]:
=IF(ISERROR(IF(A4=A3,(O3+((N4-N3)*L4)),IF(((N4-TODAY())*L4)<0,"OVERDUE",((N4-TODAY())*L4)+I4))),((N4-N3)*L4),IF(A5=A4,(O4+((N5-N4)*L5)),IF(((N5-TODAY())*L5)<0,"OVERDUE",((N5-TODAY())*L5)+I5)))

Put the formula in O4 and drag down to O14 and then calculate the
workbook (F9). Alternately, keep pressing shift-F9 to watch the results
roll upward for infinity.

Strange strange strange...

Whats causing this? Is it documented? Can it be used somehow?

-Sean



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Open Excel 2003 from Windows Explorer pmpjr Excel Discussion (Misc queries) 9 September 11th 06 03:58 PM
Running Excel 2000 VBA Application on Excel 2003 Excel Worksheet Functions 0 August 8th 06 06:04 PM
Need suggestions for some uses of Ms Excel Bible John Excel Discussion (Misc queries) 1 February 27th 06 05:30 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM


All times are GMT +1. The time now is 06:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"