Forum Discussion

Felicity123's avatar
Felicity123
Brass Contributor
Sep 23, 2021
Solved

Find last value in a row (that will change) and calculate weighted average

I have an extremely large data set so I think that using the offset function will be too time-consuming.  The columns are dates and will have new values added each month. The rows will change positi...
  • Juliano-Petrukio's avatar
    Juliano-Petrukio
    Sep 25, 2021

    Felicity123 

     

    OFFSET(StartingReference,0,ColumnsToDisplace,Height,Width)
    If you are on column G, means that you will need to displace only 1 column from your StartingReference and then 12 columns of width (12 months range).
    (Column(G)-6)*12-11=1 = ($N$2:Width)

    $N$2:$Y$2

     

    (Column(H)-6)*12-11=2 = ($Z$2:Width)

    $Z$2:$AK$2

    And so on...

     

Resources