Excel/Relating data in two tables
I'm just trying to create a budget spread sheet, where by I have two tables (one for transactions, and one for a summary).
I'm trying to figure out a formula whereby if I enter a transaction it will appear in the summary table. e.g.
Table 1 (transactions):
Date Transactions Category Amount
2-Mar-14 Chong Qing Food $25.00
4-Mar-14 MacD Food $14.99
16-Mar-14 Bus fare Transport $3.50
Table 2 (Category Summary):
Summary Of Categories
Budget Actual Difference
In the above example, if I enter two transactions in table 1 under the Food category it should appear in table 2 and continuously add the totals. In this case $35.99 ( 25+14.99)
Just not sure if I have to use a pivot table of some sort or formulas to do this. Any help will be appreciated.
thanks for you time.
Make sure Table 2 is off to the right, not below the original data, so there are no shared columns. Then use the SUMIF() function to create your sums. Press F1 and read the Excel help files for some great examples and explanation of ways to use that function.
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here