Google spreadsheet get cell value with row and column index

前端 未结 2 795
挽巷
挽巷 2021-02-19 13:20

How we can get value from a cell in google spreadsheet?

I have row and column index from ROW() and COLUMN() - 1.

In other words what is t

2条回答
  •  梦谈多话
    2021-02-19 14:09

    Say the row number is in A1, and the column number is in A2, any of these should work:

    =OFFSET(A1;A1-1;A2-1)
    =INDIRECT("R"&A1&"C"&A2)
    =INDEX(A1:400000;A1;A2)
    

提交回复
热议问题