1.橫向擴展后進行求和:
=sum(D4[!0;]) D4單元格向右擴展求和
2.縱向擴展求和
=sum(D4[;!0]) D4單元格向下擴展后求和
轉載自:https://blog.csdn.net/long636/article/details/77600605