Offset é a solução mais simples.
=OFFSET($A$1,COLUMN()-1,)
Passo a passo:
-
Escolha B2 e escreva
=offset( -
Pressione a seta para a esquerda e depois a tecla F4
$A$1It's like an ancor for the formula. -
Escreva
,column()-1,)The second argument is number of rows we want to offset from ancor. Third is number of columns. We'll leave it empty. -
Preencha todas as células que você precisa
Sweet part is formula must be the same in all cells. So you can drag, copy and move it without fear.