Excel - 在列中找到不是错误或空白的最后一个值 [英] Excel - find last value in a column which is not an error or blank
本文介绍了Excel - 在列中找到不是错误或空白的最后一个值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在excel电子表格的列中找到最后一个非错误的非空白值。该列可以具有与实际值交替的#N / A的几个阶段。有几种解决方案用于查找最后一个非空单元格,但解决方案不考虑错误,特别是如果最后一个非空单元格有错误。
I need to find in a column of an excel spreadsheet the last non-error, non-blank value. The column can have several instaces of #N/A which are alternating with actual values. There are several solutions for finding the last non-empty cell, but the solutions do not consider errors, in particular if the last non-empty cell has got an error.
在这种情况下,解决方案将是3。
The solution would be 3 in this case.
推荐答案
尝试这个公式
= LOOKUP(2,1 /(A1:A100),A1:A100)
根据需要扩展范围。在Excel 2007及更高版本中,您可以使用整列
extend range as required. In Excel 2007 and later you can use the whole column
这篇关于Excel - 在列中找到不是错误或空白的最后一个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文