Hi,
Jonmo1 's formula sums up the same value several times
Capture1.JPG
Try this CSE formula
Formula:
=IFERROR(SUMPRODUCT((MMULT(IFERROR(SEARCH(TRANSPOSE(criteria),$A$3:$A$1510),0),(ROW(criteria)/ROW(criteria)))>0)*$B$3:$B$1510),"")
where "criteria" name is defined as follows: select cell F2 then, in Formulas TAB ►Name Manager ►Refers to: enter this
Formula:
=OFFSET(Sheet3!F$3,,,COUNTA(Sheet3!F$3:F$50),1)
Now, you can drag to right without changes
see attached (in F2 my formula, in F51 Jonmo1 's formula)
Columns C and D are only for verification, it can be removed
Bookmarks