How to use column-expression in case of more than one critria in a cell to sum calculate

I already know that how to use Match and Index function in google sheet.
But I would like to know in case of more than one critiras in a cell.

The sinario is below.
1 . There is a reference table has fruit name and each price.
2 . Another is a cell has more than one fruit name to selected
(ex. apple , banna )and it is sperated by comma.
3 . finally I want to calculation sum price (apple, banna) through the column-expression.
3X_1_f_1f480843fe4e2c5f5d4fe060f998e1632113d1b9.png

guide me please~

0 1 69
1 REPLY 1

In general, I see this case being implemented in two tables. But, I think it should work anyway.
Try

SUM(
  SELECT(
    TABLENAME[PRICES($)],
    IN(
      [ITEM],
      [_THISROW].[SELECTION]
    )
  )
)
Top Labels in this Space