A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I would be very inclined to use a pivot table for that...
http://peltiertech.com/Excel/Pivots/pivotstart.htm
When I pivoted your data I ended up with this...
| Date | Result |
|---|---|
| Sum of Amount | |
| Location | Total |
| 1234 | 700 |
| 9990 | 50 |
| Grand Total | 750 |
It requires no formulas or anything else as such.
If this post answers your question, please mark it as the Answer... Jim Thomlinson