I have this formula:
=IF(AND(B1="HERE",LEFT(D3,7)="STC|A2:"),C3="HERE","")
It didn't return the expected result of C3 = "HERE" so I evaluated it. For some reason these two parts of the formula evaluate to TRUE:
AND(B1="HERE",LEFT(D3,7)="STC|A2:")
but overall the formula evaluates to false...