Getting the sum of column based on equal dates

msvb6109

New Member
Joined
May 20, 2012
Messages
5
Hello everybody. Monthly, I am making a report wherein I need to get the sum of a column based on specific dates. Attached is extracted sample of the data:
A B C
1 Value Date Amount Sub Total
2 01/04/2012 89,812.10
3 02/04/2012 147,543.00
4 02/04/2012 28,660.00
5 03/04/2012 79,950.92
6 03/04/2012 4,550.00
7 03/04/2012 145,770.00

What I am doing is to use the Sum function on the next column based on the date I need to add. For example, formula for c2 will be =sum(b2:b2), c3 will be blank since I needed to add b3 and b4, i.e., formula for c4 will be =sum(b3:b4), formula for c7 will be = sum(b5:b7).

Is there any way to expedite this process by wrting only one formula in column c that will be applicable to all? Thank you.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Maybe like this - formula in C2 copied down

Excel Workbook
ABC
1DateValueTotal
201/04/201289,812.1089,812.10
302/04/2012147,543.00176,203.00
402/04/201228,660.00176,203.00
503/04/201279,950.92230,270.92
603/04/20124,550.00230,270.92
703/04/2012145,770.00230,270.92
Sheet6
 
Upvote 0
Mr./Ms. VoG,

Thank you very much for your prompt reply. This partly solves my problem. However, I need the sub total to appear in column c once only for every date. Thus, for columns c3, c5 and c6, these should be = to zero/nil. Can you help me on this? Thank you again.
 
Upvote 0
Yep - see the second formula that I posted

Excel Workbook
ABC
1DateValueTotal
201/04/201289,812.1089,812.10
302/04/2012147,543.00
402/04/201228,660.00176,203.00
503/04/201279,950.92
603/04/20124,550.00
703/04/2012145,770.00230,270.92
Sheet6
 
Upvote 0
That is exactly what I needed. This will save me a lot of time. Thank you very much.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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