Conversation Re: Excel Offset Function: Calculation Result Inconsistency Problem in Excel
https://techcommunity.microsoft.com/t5/excel/excel-offset-function-calculation-result-inconsistency-problem/m-p/874217#M40732
<P><LI-USER uid="414784"></LI-USER> </P><P>You're welcome! Glad you found it helpful.</P><P> </P><P>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.</P><P><STRONG>=INT(WL_Num*C4*C10)</STRONG></P>Wed, 25 Sep 2019 11:17:47 GMTSubodh_Tiwari_sktneer2019-09-25T11:17:47ZExcel Offset Function: Calculation Result Inconsistency Problem
https://techcommunity.microsoft.com/t5/excel/excel-offset-function-calculation-result-inconsistency-problem/m-p/873894#M40720
<P>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. </P><P> </P><P>I really have no idea why these 2 functions generate difference results. Anyone please help? Many thanks! </P><P> </P><P>Spreadsheet attached. </P><P> </P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 389px;"><img src="https://gxcuf89792.i.lithium.com/t5/image/serverpage/image-id/133423i6E067D7C22C364F4/image-size/large?v=1.0&px=999" title="1.PNG" alt="1.PNG" /></span></P>Wed, 25 Sep 2019 07:55:57 GMThttps://techcommunity.microsoft.com/t5/excel/excel-offset-function-calculation-result-inconsistency-problem/m-p/873894#M40720Divade2019-09-25T07:55:57ZRe: Excel Offset Function: Calculation Result Inconsistency Problem
https://techcommunity.microsoft.com/t5/excel/excel-offset-function-calculation-result-inconsistency-problem/m-p/874023#M40726
<P><LI-USER uid="414784"></LI-USER> </P><P>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.</P><P> </P><P>If I use =AVERAGE(OFFSET(CT!$F$3,0,0,<STRONG>INT(N16)</STRONG>,1))/100, I get the same output as returned by the formula using C16.</P><P> </P><P>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.</P>Wed, 25 Sep 2019 09:30:43 GMThttps://techcommunity.microsoft.com/t5/excel/excel-offset-function-calculation-result-inconsistency-problem/m-p/874023#M40726Subodh_Tiwari_sktneer2019-09-25T09:30:43ZRe: Excel Offset Function: Calculation Result Inconsistency Problem
https://techcommunity.microsoft.com/t5/excel/excel-offset-function-calculation-result-inconsistency-problem/m-p/874030#M40727
<P><LI-USER uid="394231"></LI-USER> </P><P>Yeah that's the decimal that affects the height! Now I know at least how to improve the formula. Many thanks for your help <LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"></LI-EMOJI> </P>Wed, 25 Sep 2019 09:38:06 GMThttps://techcommunity.microsoft.com/t5/excel/excel-offset-function-calculation-result-inconsistency-problem/m-p/874030#M40727Divade2019-09-25T09:38:06ZRe: Excel Offset Function: Calculation Result Inconsistency Problem
https://techcommunity.microsoft.com/t5/excel/excel-offset-function-calculation-result-inconsistency-problem/m-p/874217#M40732
<P><LI-USER uid="414784"></LI-USER> </P><P>You're welcome! Glad you found it helpful.</P><P> </P><P>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.</P><P><STRONG>=INT(WL_Num*C4*C10)</STRONG></P>Wed, 25 Sep 2019 11:17:47 GMThttps://techcommunity.microsoft.com/t5/excel/excel-offset-function-calculation-result-inconsistency-problem/m-p/874217#M40732Subodh_Tiwari_sktneer2019-09-25T11:17:47Z