Count Cells That Contain Either X Or Y Excel Formula
where data is the named range B5:B15. The result is 7, because there are seven cells in the range B5:B15 that contain “blue” or “green”. This formula is case-sensitive because the FIND function is case-sensitive. Note: It is also possible to use a simpler formula based on a helper column, as explained below. Note: The main formula described on this page is case-sensitive because the FIND function is case-sensitive. If you want a formula that is not case-sensitive, you can substitute the SEARCH function for the FIND function....