 • 441K Members
• 9,274 Online
• 529K Conversations
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 parameter [height] - cell "C16" vs “N16”, where "C16" and "N16" both have numerical value of 8.

I really have no idea why these 2 functions generate difference results. Anyone please help? Many thanks! 3 Replies
Solution

# Re: Excel Offset Function: Calculation Result Inconsistency Problem

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.

Highlighted

# Re: Excel Offset Function: Calculation Result Inconsistency Problem

Yeah that's the decimal that affects the height! Now I know at least how to improve the formula. Many thanks for your help

# Re: Excel Offset Function: Calculation Result Inconsistency Problem

Btw if your calculation in N16 allows, you may change the formula in N16 itself to the following one and that will stop the inconsistent behavior of Offset function.

=INT(WL_Num*C4*C10)

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies