可以做到不写sql来计算括号外的合计和括号内的合计吗,例如:4536(2343)
sum(MAPARRAY(b1,left(item,find("(",item)-1)))
完整的:CONCATENATE(sum(MAPARRAY(b1,left(item,find("(",item)-1))),"(",sum(MAPARRAY(b1,SUBSTITUTE(mid(item,find("(",item)+1,50),")",""))),")")
可以,你是要怎么合计括号内和括号外的求和?
sum(SPLIT(REPLACE(REPLACE(A2,"(",","),")",""),","))