Hello Vegas,

Use SUMIF & COUNTIF with wildcard,

E2, copy down

=SUMIF(A:A,"*"&D2,B:B)

F2, copy down,

=COUNTIF(A:A,"*"&D2)

If kwd may appear anywhere in the cells, use one more "*" after the cell. like,

=SUMIF(A:A,"*"&D2&"*",B:B)