I'm trying to count cells within column A of Sheet 1 containing a case-sensitive data and if column B in same sheet is not blank. Currently, I'm able to count the case-sensitive cells using the formula below:
=IFERROR(IF($C2="","",COUNT(INDEX(FIND("mMMm",Sheet1!$A:$A),))),"-")
Next criteria to incorporate (besides the one above) would be to count only the values if its adjacent cell in column B is not blank. So far, I've tried incorporating a MATCH(<>"",Sheet1!B:B,0)*
and an IF statement to achieve this, but to no avail. I also tried returning it as an array formula, but still nothing. May I ask for your guidance on this. I'm not sure if what I've done are actually on track to what I want to do, but I would love to know and learn a function that does the job. Thanks!
Here's some sample data to better grasp this concern:
Column A Column B
12mMMmqq 1
sdmMmMqqq 1
ssmMMmree 1
wemMMmm12
mMMm11111
mMmMmM1121 1
So in the above sample data, my current formula would return a count of 4 (cells containing case-sensitive "mMMm"). However, what I wish to achieve is a count of 2 (those meeting the previous criteria and with a non-blank cell adjacent to it).
Thanks!