公式实现:如果有多个值,取逗号后的最后一个值
INDEXOFARRAY(REVERSEARRAY(split(A2,",")),1)
if(count(split(b2,","))>1,INDEXOFARRAY(split(B2,","),count(split(b2,","))))