Selecting the last value of a column

前端 未结 23 1888
再見小時候
再見小時候 2020-11-28 19:15

I have a spreadsheet with some values in column G. Some cells are empty in between, and I need to get the last value from that column into another cell.

Something li

23条回答
  •  南方客
    南方客 (楼主)
    2020-11-28 19:45

    In order to return the last value from a column of text values you need to use COUNTA, so you would need this formula:

    =INDEX(G2:G; COUNTA(G2:G))
    

提交回复
热议问题