[英]How can I count non adjacent blank cells in excel?
I am working on a search function that searches a table in another worksheet that contains client information, from a cell using VLOOKUP. 我正在使用一个搜索功能,该功能使用VLOOKUP从单元格中搜索另一个包含客户信息的工作表中的表。 I have 5 "search box" cells and want to be able to search by one criteria at a time, but only if the other 4 search Criteria boxes are empty.
我有5个“搜索框”单元格,希望能够一次按一个条件进行搜索,但前提是其他4个搜索条件框为空。 So if there was text in more than one of the search boxes at once it would return an error message.
因此,如果一次在多个搜索框中包含文本,则会返回错误消息。
I achieved a desirable result in the first box using COUNTBLANK() like so: COUNTBLANK(B5:B8)=4
nesting it in an IF statement in the formula bar 我在第一个框中使用COUNTBLANK()取得了理想的结果,如下所示:
COUNTBLANK(B5:B8)=4
嵌套在公式栏中的IF语句中
My question is...How can I count the number of nonadjacent blank cells? 我的问题是...如何计算不相邻的空白单元格的数量? So I can confirm that they are empty.
因此,我可以确认它们为空。
您可以简单地执行=countblank(A1)+countblank(b2)+countblank(c3)+countblank(d4)+countblank(e5)
因为您所计数的单元格数量并不高
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.