如何在Google Spreadsheet中的单个单元格内基于等号后的单个键求和所有值

如标题中所述,我可以根据等号后的单个键求和单个单元格中的所有值,如下所示。

enter image description here

多亏@Emmabee,我才能够获得该特定密钥的总数。

=arrayformula(sum(if(iferror(find(concat(B1,"="),transpose(split($A2,", "))), 0)=1,filter(split(transpose(split($A2,", ")),"="),{FALSE,TRUE}),0)))