I have the following fields (see below for data):
Date, Vendor, Main Category, Subcategory and Amount.
I want to create a summary page that will give me answers such as:
Sum Amount where Main Category="Contractor - Special Trades"
Sum Amount where Main Category='Contractor"
Sum Amount where Main Category="Cosmetologist"
I tried DSUM, but it got cumbersome with the column headings for each query.
There will be 10 or 15 queries to be updated when I make changes to the original data.
Is there an easier way?
Thanks.
[TABLE="width: 758"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Vendor[/TD]
[TD]Main Category[/TD]
[TD]Subcategory[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD="align: right"]02/10/15[/TD]
[TD]Summer Screen & Blinds[/TD]
[TD]Contractor - Special Trades[/TD]
[TD]Installation[/TD]
[TD="align: right"]$487.09[/TD]
[/TR]
[TR]
[TD="align: right"]07/17/15[/TD]
[TD]Tileco Masonry Ceramic Tile & Marble Co[/TD]
[TD]Contractor - Special Trades[/TD]
[TD]Masonry[/TD]
[TD="align: right"]$257.95[/TD]
[/TR]
[TR]
[TD="align: right"]11/29/15[/TD]
[TD]Asia Backflow Testing[/TD]
[TD]Contractor - Special Trades[/TD]
[TD]Other[/TD]
[TD="align: right"]-$69.68[/TD]
[/TR]
[TR]
[TD="align: right"]12/26/15[/TD]
[TD]Shelly at Clover[/TD]
[TD]Cosmetologist[/TD]
[TD]Hair Stylist/Hairdresser[/TD]
[TD="align: right"]-$36.18[/TD]
[/TR]
[TR]
[TD="align: right"]08/11/15[/TD]
[TD]Benjamin Cheng Chartered Accountant[/TD]
[TD]Financial Services[/TD]
[TD]Accountant/Auditor[/TD]
[TD="align: right"]$4.02[/TD]
[/TR]
[TR]
[TD="align: right"]11/26/15[/TD]
[TD]Metropolitan Hotel[/TD]
[TD]Fitness Centre[/TD]
[TD]Fitness Centre - Class 2[/TD]
[TD="align: right"]$8.71[/TD]
[/TR]
[TR]
[TD="align: right"]10/28/15[/TD]
[TD]Broadway Dental[/TD]
[TD]Health Services[/TD]
[TD]Dentist[/TD]
[TD="align: right"]$361.80[/TD]
[/TR]
[TR]
[TD="align: right"]07/13/15[/TD]
[TD]Fasken Martineau DuMoulin LLP[/TD]
[TD]Office[/TD]
[TD]Barrister & Solicitor[/TD]
[TD="align: right"]-$27.47[/TD]
[/TR]
[TR]
[TD="align: right"]08/19/15[/TD]
[TD]McDonalds Restaurants[/TD]
[TD]Restaurant Class 1[/TD]
[TD]No Liquor Service[/TD]
[TD="align: right"]$488.43[/TD]
[/TR]
[TR]
[TD="align: right"]09/05/15[/TD]
[TD]New Sky Light Restaurant[/TD]
[TD]Restaurant Class 1[/TD]
[TD]No Liquor Service[/TD]
[TD="align: right"]$403.34[/TD]
[/TR]
[TR]
[TD="align: right"]03/26/15[/TD]
[TD]Homeglow Construction[/TD]
[TD]Contractor[/TD]
[TD]Alterations & Repairs[/TD]
[TD="align: right"]$542.70[/TD]
[/TR]
[TR]
[TD="align: right"]06/15/15[/TD]
[TD]Kens Home Renovation[/TD]
[TD]Contractor[/TD]
[TD]Alterations & Repairs[/TD]
[TD="align: right"]$577.54[/TD]
[/TR]
[TR]
[TD="align: right"]09/22/15[/TD]
[TD]Spring Financial[/TD]
[TD]Financial Services[/TD]
[TD]Finance Agent[/TD]
[TD="align: right"]$47.57[/TD]
[/TR]
</tbody>[/TABLE]
Date, Vendor, Main Category, Subcategory and Amount.
I want to create a summary page that will give me answers such as:
Sum Amount where Main Category="Contractor - Special Trades"
Sum Amount where Main Category='Contractor"
Sum Amount where Main Category="Cosmetologist"
I tried DSUM, but it got cumbersome with the column headings for each query.
There will be 10 or 15 queries to be updated when I make changes to the original data.
Is there an easier way?
Thanks.
[TABLE="width: 758"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Vendor[/TD]
[TD]Main Category[/TD]
[TD]Subcategory[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD="align: right"]02/10/15[/TD]
[TD]Summer Screen & Blinds[/TD]
[TD]Contractor - Special Trades[/TD]
[TD]Installation[/TD]
[TD="align: right"]$487.09[/TD]
[/TR]
[TR]
[TD="align: right"]07/17/15[/TD]
[TD]Tileco Masonry Ceramic Tile & Marble Co[/TD]
[TD]Contractor - Special Trades[/TD]
[TD]Masonry[/TD]
[TD="align: right"]$257.95[/TD]
[/TR]
[TR]
[TD="align: right"]11/29/15[/TD]
[TD]Asia Backflow Testing[/TD]
[TD]Contractor - Special Trades[/TD]
[TD]Other[/TD]
[TD="align: right"]-$69.68[/TD]
[/TR]
[TR]
[TD="align: right"]12/26/15[/TD]
[TD]Shelly at Clover[/TD]
[TD]Cosmetologist[/TD]
[TD]Hair Stylist/Hairdresser[/TD]
[TD="align: right"]-$36.18[/TD]
[/TR]
[TR]
[TD="align: right"]08/11/15[/TD]
[TD]Benjamin Cheng Chartered Accountant[/TD]
[TD]Financial Services[/TD]
[TD]Accountant/Auditor[/TD]
[TD="align: right"]$4.02[/TD]
[/TR]
[TR]
[TD="align: right"]11/26/15[/TD]
[TD]Metropolitan Hotel[/TD]
[TD]Fitness Centre[/TD]
[TD]Fitness Centre - Class 2[/TD]
[TD="align: right"]$8.71[/TD]
[/TR]
[TR]
[TD="align: right"]10/28/15[/TD]
[TD]Broadway Dental[/TD]
[TD]Health Services[/TD]
[TD]Dentist[/TD]
[TD="align: right"]$361.80[/TD]
[/TR]
[TR]
[TD="align: right"]07/13/15[/TD]
[TD]Fasken Martineau DuMoulin LLP[/TD]
[TD]Office[/TD]
[TD]Barrister & Solicitor[/TD]
[TD="align: right"]-$27.47[/TD]
[/TR]
[TR]
[TD="align: right"]08/19/15[/TD]
[TD]McDonalds Restaurants[/TD]
[TD]Restaurant Class 1[/TD]
[TD]No Liquor Service[/TD]
[TD="align: right"]$488.43[/TD]
[/TR]
[TR]
[TD="align: right"]09/05/15[/TD]
[TD]New Sky Light Restaurant[/TD]
[TD]Restaurant Class 1[/TD]
[TD]No Liquor Service[/TD]
[TD="align: right"]$403.34[/TD]
[/TR]
[TR]
[TD="align: right"]03/26/15[/TD]
[TD]Homeglow Construction[/TD]
[TD]Contractor[/TD]
[TD]Alterations & Repairs[/TD]
[TD="align: right"]$542.70[/TD]
[/TR]
[TR]
[TD="align: right"]06/15/15[/TD]
[TD]Kens Home Renovation[/TD]
[TD]Contractor[/TD]
[TD]Alterations & Repairs[/TD]
[TD="align: right"]$577.54[/TD]
[/TR]
[TR]
[TD="align: right"]09/22/15[/TD]
[TD]Spring Financial[/TD]
[TD]Financial Services[/TD]
[TD]Finance Agent[/TD]
[TD="align: right"]$47.57[/TD]
[/TR]
</tbody>[/TABLE]