以下是引用huangguo在2003-4-22 15:08:14的发言:
本人是一个球迷,现试着用EXCEL做了一个比赛成绩统计表,其中不足之处还请大家指教,另外我觉得工作有点复杂,请指点优化。 这样修改您认为可以吗?
轮次表的公式=VLOOKUP(B3,队名及编号!$A$3:$B$10,2,0);
成绩总表C3:I3的=CONCATENATE(轮次表!$G$3,轮次表!$H$3,轮次表!$I$3)改为=CONCATENATE(轮次表!$G$3,":",轮次表!$I$3);
成绩总表J3的=SUM(LEFT(C3,1),LEFT(D3,1),LEFT(E3,1),LEFT(F3,1),LEFT(G3,1),LEFT(H3,1),LEFT(I3,1))改为{=SUM(LEFT($B3:$I3,1)*1)}并向下拖拽;
成绩总表K3的=SUM(RIGHT(C3,1),RIGHT(D3,1),RIGHT(E3,1),RIGHT(F3,1),RIGHT(G3,1),RIGHT(H3,1),RIGHT(I3,1))改为{=SUM(RIGHT($C$3:$I$3,1)*1)}并向下拖拽;
成绩总表M3的=SUM((IF(LEFT(C3,1)>RIGHT(C3,1),3,IF(LEFT(C3,1)=RIGHT(C3,1),1,0))),IF(LEFT(D3,1)>RIGHT(D3,1),3,IF(LEFT(D3,1)=RIGHT(D3,1),1,0)),IF(LEFT(E3,1)>RIGHT(E3,1),3,IF(LEFT(E3,1)=RIGHT(E3,1),1,0)),IF(LEFT(F3,1)>RIGHT(F3,1),3,IF(LEFT(F3,1)=RIGHT(F3,1),1,0)),IF(LEFT(G3,1)>RIGHT(G3,1),3,IF(LEFT(G3,1)=RIGHT(G3,1),1,0)),IF(LEFT(H3,1)>RIGHT(H3,1),3,IF(LEFT(H3,1)=RIGHT(H3,1),1,0)),IF(LEFT(I3,1)>RIGHT(I3,1),3,IF(LEFT(I3,1)=RIGHT(I3,1),1,0)))改为{=SUM((LEN($B3:$I3)>1)*(LEFT($B3:$I3,1)>RIGHT($B3:$I3,1))*3+(LEN($B3:$I3)>1)*(LEFT($B3:$I3,1)=RIGHT($B3:$I3,1))*1)}并向下拖拽.
成绩总表!M8,我算下来等于11分,而您的公式却等于12分,谁算错了? |