Sum totals of amounts within a date Range by category

nularry

New Member
Joined
Sep 5, 2011
Messages
13
Office Version
  1. 365
Platform
  1. Windows
I have a data base with dates in column C, Category in column G, and Amounts in column R. On a sheet2 I have the start date in B2 and end date in B3 and in Column A I have the category names. In column B, I want to get the totals from column G (sheet 1) for rows within the date range and match the category name. This is for my Cub Scout Finances. Thank you for any help.




Sheet 2:
8Camp Card Income
9Donation Income
10Popcorn Income
11Honey Income

<tbody>
[TD="class: xl73"]1Beg Date[/TD]
[TD="class: xl71, width: 66"]6/13/18[/TD]

[TD="class: xl73, width: 158"]2End Date[/TD]
[TD="class: xl71"]6/12/19[/TD]

[TD="class: xl73, width: 158"]3[/TD]
[TD="class: xl72"]2018-2019[/TD]

[TD="class: xl68"]4[/TD]
[TD="class: xl70"][/TD]

[TD="class: xl68"]5[/TD]
[TD="class: xl70"][/TD]

[TD="class: xl68"]6
7[/TD]
[TD="class: xl70"][/TD]

[TD="class: xl69"] $ -[/TD]

[TD="class: xl69"] $ -[/TD]

[TD="class: xl69"] $ -[/TD]

[TD="class: xl69"] $ -[/TD]

[TD="class: xl68"]12Total Income[/TD]
[TD="class: xl70"] $ - [/TD]

</tbody>
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi,

Change/adjust cell references/range, add sheet Name, as needed.

You may Also have to Change the "Category" names in Sheet1 and/or Sheet2 to match each other:


Book1
ABCDGHR
1Beg Date6/13/20186/1/2018Camp Card Income$100
2End Date6/12/20197/2/2018Donation Income$200
32018-201910/15/2018Popcorn Income$300
45/30/2019Honey Income$400
57/4/2019Donation Income$500
6
7
8Camp Card Income0
9Donation Income200
10Popcorn Income300
11Honey Income400
12Total Income900
Sheet587
Cell Formulas
RangeFormula
B8=SUMIFS(R$1:R$5,C$1:C$5,">="&B$1,C$1:C$5,"<="&B$2,G$1:G$5,A8)
B12=SUM(B8:B11)


B8 formula copied down to B11
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top