I have a excel table and I would like to compute values based on a set of rows.
Visually it’s something like:
block_1
...
block_n
Mblock
where each block has say 20 lines. The formulas I want to compute depend on Mblock. For the first block this works fine but when I drag passed the first block excel uses the lines that follow Mblock where I would like it to use again the first line in Mlbock and so on.
How can this be done in excel?
Assuming each block is 20 lines, Mblock is a named range for Mblock and you just want to return the relative Mblock value you could do this:
Which should return the nth item in Mblock when called from n row in each 20 row block.