Hello,

in a cell, I have this formula:

=SUM('sheet1'!$B158:$B161)

I would like to extract the first reference of the line (158 in this case, but it could change) and put it into a variable.

Thanks for your help.