Selecting the last value of a column

前端 未结 23 1937
再見小時候
再見小時候 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:42

    try this: =INDIRECT("B"&arrayformula(max((B3:B<>"")*row(B3:B))))

    Suppose the column in which you are looking for the last value is B.

    And yes, it works with blanks.

提交回复
热议问题