开发者

Check if column contains specific values in excel

I need to check in excel whether a column (b1:b300) contains only 2 specif开发者_StackOverflowic values 1,-24. How can check this using formulas only. Please help


You can use a VLOOKUP, and depending if you search for ANY of the two or BOTH of the two, you combine two VLOOKUP as needed.

=VLOOKUP(arg,range,1,FALSE) will yield #N/A if not found, which can be further analyzed using the =ISNA() function


It is simple:

=COUNTIFS(B1:B300,"<>1",B1:B300,"<>-24")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜