Forum Discussion

Divade's avatar
Divade
Copper Contributor
Sep 25, 2019
Solved

Excel Offset Function: Calculation Result Inconsistency Problem

I ran across this problem when I was doing =average(offset()) calc. The two "average(offset())" functions generate different results. The only difference in the two functions are the optional paramet...
  • Divade 

    Though this may not justify this behavior, the calculation in N16 involves decimal numbers and that is influencing the height in the offset function in some way. The offset function which uses N16 returns the range CT!$F$3:$F$9 whereas the offset function which uses C16 returns the range CT!$F$3:$F$10, you will know this if you Evaluate both the formulas and the strange thing is, both C16 and N16 are evaluated as 8.

     

    If I use =AVERAGE(OFFSET(CT!$F$3,0,0,INT(N16),1))/100, I get the same output as returned by the formula using C16.

     

    Interesting thing is, the formula =C16=N16 is evaluated as true so something strange is happening in the background and I have no idea about that.

Resources