Text criteria need to be within double quotes,
e.g.: "Machine", "Pattern Change"
If col B may contain both text and numbers, and
assuming the criteria for col B will be input in say, cell F2
(instead of hardcoded in the formula), and with TRIM() used
to clean up any stray spaces for improved text matching,
then perhaps one way to harmonize it would be :
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.