T
Tapani
Proposition:
Nested index-function may give false results in excel 2007.
Proof:
Assume
1. Range A1:A5 includes numbers 6, 7, 8, 9, 10 and has name A
2. Range B1:B2 includes numbers 2, 4 and has name B
3. Range D12 includes formula =INDEX(A,B) and looks as numbers 7, 9 and
has name D
4. Cells E1:E2 include the formula=(D=INDEX(A;B)) and look as true, true
5. Cell F1 includes formula =SUM(D) and looks as 16 as expected
6. Cell G1 includes formula =SUM(INDEX(A,B)) and looks as 7, surprisingly!
So item 4 verifies D=INDEX(A;B) and therefore following the rules of
traditional logic we get 16=sum(D)=SUM(INDEX(A;B))=7 i.e. 16=7.
Proof completed.
The problem seems to be the same if I replace SUM with any other function.
I have preferred to like to skip unnecessary interim results in excel to
keep the limit the size of files used (the size of file where I realized the
error above is 40 MB) and therefore this error in excel is most unpleasant.
Does anyone know how to pass this problem?
Tapani
Nested index-function may give false results in excel 2007.
Proof:
Assume
1. Range A1:A5 includes numbers 6, 7, 8, 9, 10 and has name A
2. Range B1:B2 includes numbers 2, 4 and has name B
3. Range D12 includes formula =INDEX(A,B) and looks as numbers 7, 9 and
has name D
4. Cells E1:E2 include the formula=(D=INDEX(A;B)) and look as true, true
5. Cell F1 includes formula =SUM(D) and looks as 16 as expected
6. Cell G1 includes formula =SUM(INDEX(A,B)) and looks as 7, surprisingly!
So item 4 verifies D=INDEX(A;B) and therefore following the rules of
traditional logic we get 16=sum(D)=SUM(INDEX(A;B))=7 i.e. 16=7.
Proof completed.
The problem seems to be the same if I replace SUM with any other function.
I have preferred to like to skip unnecessary interim results in excel to
keep the limit the size of files used (the size of file where I realized the
error above is 40 MB) and therefore this error in excel is most unpleasant.
Does anyone know how to pass this problem?
Tapani