=SUM(IF(ISERR(FIND(A8:A21&“,",A22&",")),0,L8:l21))按【CTRL+SHIFT+回车】