列中的最后一个非空单元格 [英] Last non-empty cell in a column

查看:110
本文介绍了列中的最后一个非空单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道在Microsoft Excel中查找列中最后一个非空单元格的公式?

Does anyone know the formula to find the value of the last non-empty cell in a column, in Microsoft Excel?

推荐答案

p>这与文本和数字一起使用,不关心是否有空白单元格,即它将返回最后一个非空白单元格。

This works with both text and numbers and doesn't care if there are blank cells, i.e., it will return the last non-blank cell.

它需要输入数组,这意味着您在后按Ctrl-Shft-Enter键入或粘贴它。下面是列A:

It needs to be array-entered, meaning that you press Ctrl-Shft-Enter after you type or paste it in. The below is for column A:

=INDEX(A:A,MAX((A:A<>"")*(ROW(A:A))))

这篇关于列中的最后一个非空单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆