+ Reply to Thread
Results 1 to 3 of 3

Offset behaviour/calculation order

  1. #1
    Valued Forum Contributor
    Join Date
    02-06-2013
    Location
    Germany
    MS-Off Ver
    365
    Posts
    491

    Offset behaviour/calculation order

    Hi, I have a comprehension question based on the attached illustration.
    This doesn't make much sense to me.

    Based on the column headers:

    (i) Offset is based off Date (equals Date) but generates zeroes out of blank cells - I can kind of understand this, spilling functions do the same. But it's ignoring those zeroes in its calculation.
    If I remember correctly, it has to do with calculation order: sort of like the zeroes are placed at the very end after the calculation is already performed.
    However, here the zeroes are there before any calculation is made.
    I find that confusing because the OFFSET-formula evaluates to: {10;0;0} and the AVERAGE-function is only applied separately and clearly afterwards.
    So why is the result of Average3 not equal to Average2?

    (ii) Even more confusing to me: Offset2 is based off Date2 (so the zeroes are really there) but it's giving different AVERAGE result, wrongly ignoring the zeroes. How does this make sense?

    Clearly I am missing something?
    Attached Files Attached Files
    Last edited by RaulSerg; 10-19-2021 at 09:56 AM.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Offset behaviour/calculation order

    To include the results of spill formulas, you'd need =AVERAGE(B7#) and =AVERAGE(D7#) for example. Currently you are just taking the averages of single cells.
    Rory

  3. #3
    Valued Forum Contributor
    Join Date
    02-06-2013
    Location
    Germany
    MS-Off Ver
    365
    Posts
    491

    Re: Offset behaviour/calculation order

    I swear I did check this and I just copy pasted everything :/

    Anyway, thx.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Calculation order for UDF's
    By Jacc in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-09-2019, 12:00 PM
  2. Level calculation according to the various offset
    By anindya.zen in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-25-2016, 06:35 AM
  3. Replies: 0
    Last Post: 05-17-2014, 10:18 PM
  4. Replies: 0
    Last Post: 09-27-2012, 10:36 AM
  5. Replies: 3
    Last Post: 05-27-2009, 08:50 AM
  6. Unexpected (?) behaviour of OFFSET() in array formulas
    By vezerid in forum Excel General
    Replies: 11
    Last Post: 12-13-2005, 04:30 PM
  7. Order of Calculation
    By John H W in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2005, 08:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1