我試圖獲得將所有興趣列作爲最終數字加起來的最終列,以便每個客戶有一個數字。我目前有:如何對客戶分組的多列和多行進行求和
+--------+--------+-------+-------+-------+-------+
|Customer|Number |IntMax |IntMin |IntMin1|IntMax1|
+--------+--------+-------+-------+-------+-------+
|Jones |72352516|$0.00 |$381.47|$0.00 |$0.00 |
+--------+--------+-------+-------+-------+-------+
|Jones |72352516|$455.31|$0.00 |$0.00 |$0.00 |
+--------+--------+-------+-------+-------+-------+
|Brett |70920356|$0.00 |$0.00 |$194.56|$129.71|
+--------+--------+-------+-------+-------+-------+
|Gavin |79023561|$0.00 |$617.29|$0.00 |$0.00 |
+--------+--------+-------+-------+-------+-------+
|Gavin |79023561|$531.46|$0.00 |$0.00 |$0.00 |
+--------+--------+-------+-------+-------+-------+
我希望看到的結果是:
+--------+--------+---------+
|Customer|Number |IntFinal |
+--------+--------+---------+
|Jones |72352516|$836.78 |
+--------+--------+---------+
|Brett |70920356|$324.27 |
+--------+--------+---------+
|Gavin |79023561|$1,148.76|
+--------+--------+---------+
非常感謝