I have the formula =SUMPRODUCT(SUBSTITUTE(0&B15:B80,"CA$","",1)+0,--($A$15:$A$80=$P$16))
it breaks #VALUE ! when it hits a cell in column B containing the string (CA$123).
Column B contains CA$1234 and (CA$123) values. I need the formula to SUBSTITUTE both if possible.
Thanks!