Offset Function

Embed Size (px)

Citation preview

  • 8/17/2019 Offset Function

    1/2

    Offset Function :

    Syntax

    = offset (Range, Rows, Columns, (Height), (Width))

    PARAMETERS OR AR!ME"TS

    Range is the sta#ting #ange f#om whi$h the offset will %e a&&lied'

    Rows is the num%e# of #ows to a&&l as the offset to the #ange' This $an %e a &ositie o#

    negatie num%e#'

    Columns is the num%e# of $olumns to a&&l as the offset to the #ange' This $an %e a

     &ositie o# negatie num%e#'

    Height is o&tional' *t is the num%e# of #ows that ou want the #etu#ned #ange to %e' *f this &a#amete# is omitted, it is assumed to %e the height of #ange'

    Width is o&tional' *t is the num%e# of $olumns that ou want the #etu#ned #ange to %e' *f

    this &a#amete# is omitted, it is assumed to %e the width of #ange'

    O++SET limitations

    While offset fo#mula $an #etu#n with a dnami$ #ange when ou %e$on, it does hae few

    limitations-

    O++SET fo#mula is olatile- *n &lain English it means, whenee# the#e is an $hange inou# wo#%oo, O++SET fo#mula is #e$al$ulated, thus ee&ing E.$el %us a tin %itlonge#' This is not an issue if ou use O++SET fo#mula in a small wo#%oo' /ut when

    ou use lots of O++SET fo#mulas in la#ge wo#%oos, ou will end u& $u#sing E.$el as it

    taes too mu$h time to #e$al$ulate'O++SET fo#mulas a#e t#i$ to de%ug- /e$ause the #efe#en$es a#e dnami$, de%ugging a

    wo#%oo with lots of O++SETs $an get t#i$ 0ui$l'

    Alte#naties to O++SET fo#mula

    The#e 1 fine alte#naties to O++SET fo#mula'

    !se E.$el Ta%les- Sin$e E.$el 1223, we $an $#eate ta%les f#om st#u$tu#ed data and w#ite

    fo#mulas, $#eate $ha#ts that #efe# to dnami$ #anges with ease' Cli$ he#e to now mo#ea%out ta%les'

    !se *"4E5 fo#mula- Although not e.a$tl same as O++SET, *"4E5 fo#mula $an also

     %e used to gene#ate dnami$ #ange #efe#en$es' Plus, *"4E5 is a non6olatile fo#mula, soit wont ee& E.$el %us unne$essa#il' 7now mo#e a%out *"4E5 fo#mula'

    4o ou use O++SET fo#mula8

  • 8/17/2019 Offset Function

    2/2

    +o# most of m dnami$ #ange needs, * #el on ta%les o# *"4E5 fo#mula' * use O++SET

    fo#mula when * hae to $al$ulate alues lie ae#age of latest wee' *n su$h $ases

    O++SET is an elegant solution'

    What a%out ou8 4o ou use O++SET fo#mula8 *n whi$h situations do ou use it8 Please

    sha#e ou# ti&s 9 e.am&les with us using $omments'

    7now Mo#e a%out O++SET

    Che$ out %elow e.am&les to unde#stand O++SET fo#mula %ette#-

    Cal$ulations- Sum of alues %etween 1 dates : Moing ae#ages : Ae#age of $losest

    num%e#s: Mo#e;

    Modeling- Cal$ulate *RR of dnami$ #anges : Manage s$ena#io analsisCha#ting 9 4ash%oa#ds- 4nami$ #ange $ha#ts : To& . $ha#t : Anal