Excel uses formulas to get the contents of the last row of cells

In data processing, we often involve operations like removing the first few rows and the last few rows of the data. In excel, to get the first few cells, we can directly write a function like "=A1" to get the number. But if you take the last line, you can't write it as a function of "=Ax" , because if the number of rows in the table changes, it will cause us not to get the data of the last line.

You can use the function "=INDIRECT("A"&COUNTA(A:A))" to get the data of the last row. The results are as follows:

Guess you like

Origin blog.csdn.net/lz_peter/article/details/103138577