Increment excel formula by 1

前端 未结 4 911
醉话见心
醉话见心 2021-01-19 15:44

I\'m trying to copy and paste a few cells keeping the format and them ebing linked to a table.

Currently i have a table but i am referencing it from another sheet e.

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-19 16:22

    A math trick.

    =INDIRECT("Sheet2!A"&INT(ROW()/4)-*offset*)

    Addjust offset first and then you can copy and paste it down as you wish.

    The ROW() returns the row number where the formula located. For example, if the formula you type is in cell A20, ROW() returns 20. i.e. if you need to show Sheet2!A1 in A20, the offset should be 4. The formula becomes =INDIRECT("Sheet2!A"INT(ROW()/4)-4)

提交回复
热议问题