I'm trying to sum values in column B if:
- First 2 charactersin column A = "ZZ"
- Last 2 characters column A = "CA"
- 3rd character in column A = 4
Tried using sumproduct but no sucess!
I'm trying to sum values in column B if:
Tried using sumproduct but no sucess!
Found it:
=SUMPRODUCT(--(LEFT(A1:A10,2)="ZZ"),--(RIGHT(A1:A10,2)="CA"),--(MID(A1:A10,3,1)="4"),B1:B10)
However not sure why "--" is needed before each array