[Excel] Formulas return incorrect results

Fyah_Fy Posted messages 819 Status Member -  
Patrice33740 Posted messages 8400 Registration date   Status Member Last intervention   -
Hello,

I have a model sheet created in Excel 2003 with a data tab and a tab with crazy formulas (like 5-6 lines)

I just realized that when opening the same file in Excel 2007 and Excel 2010, the results of the formulas are different. When recalculating manually yesterday, it seemed that 2007 was correct while 2010 was wrong.

This morning I took another sheet and it seems that 2010 is correct and 2007 is wrong.

I'm lost.
What do you think?

Configuration: Windows XP / Firefox 14.0.1

5 answers

Patrice33740 Posted messages 8400 Registration date   Status Member Last intervention   1 783
 
Hello,

Even with crazy formulas, Excel is only rarely wrong!!!

It is much more likely that the context is not rigorously identical or that the formulas are not perfectly suited.

--
Patrice
2
Fyah_Fy Posted messages 819 Status Member 68
 
When I say "crazy formulas", I mean that it's not easy to understand now that they have been created.

It turns out that the same file (on the server), opened in read-only mode on both computers, gives different results.
0
Patrice33740 Posted messages 8400 Registration date   Status Member Last intervention   1 783
 
It's not necessarily abnormal, why is it read-only?!
0
Fyah_Fy Posted messages 819 Status Member 68
 
He is in read-only mode on the second PC, sorry.
0
Patrice33740 Posted messages 8400 Registration date   Status Member Last intervention   1 783
 
What is the formula in question?
0
Fyah_Fy Posted messages 819 Status Member 68
 
=IF(OR(AI6="-",ISERROR(AVERAGE(OFFSET(Date_debut_exploit, (AI6-Date_debut_exploit)/pas_exploit, 1):OFFSET(Date_debut_exploit, ((AI6-Date_debut_exploit)/pas_exploit)+(1/pas_exploit)-1, 1))*24)),"-",AVERAGE(OFFSET(Date_debut_exploit, (AI6-Date_debut_exploit)/pas_exploit, 1):OFFSET(Date_debut_exploit, ((AI6-Date_debut_exploit)/pas_exploit)+(1/pas_exploit)-1, 1))*24)
0