如图所示,两个表格分别由两个数据集进行展开,怎样才能实现图片中的计算
E6=D6/sum(D6[!0]{C6=$C6})
F6=D6/sum(D6[!0]{C6=$C6})/C3{B3=$C6}
https://help.fanruan.com/finereport/doc-view-4005.html
SWITCH(C6,'A',C6/sum(D6{C6='A'}),'B',C6/sum(D6{C6='B'}),'C',C6/sum(D6{C6='C'}))
SWITCH(C6,'A', sum(C3{b3='A'}) *E6,'B',sum(C3{b3='B'}) *E6,'C',sum(C3{b3='C'}) *E6) 试试