Need a formula for the weekly sums

bjkiwi007

New Member
Joined
Aug 20, 2008
Messages
15
Hello,
I have a spreadsheet with dates listed from the 1st of January through to the 31st of December. I have entries on multiple days with sums and some days have more than one entry whilst others have none. I now need to get the data out in a way that gives me weekly totals. For example I need Week1, week2, week3 and so on. My dates are formatted as follows: [$-407]ddd, d\. mmmm yyyy. Column A is my dates and column B is the data. Could anyone suggest a macro that could maybe help get the result I am after?
Thanks in Advance
BJ
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi BJ,

Alternatively, could you add a column 'Week Number', with the formula '=WEEKNUM(cell)'
and then use SubTotals feature?, e.g.
Book1
ABCD
1DateWeek NumberValue
2Thu 01-Jan-09181
3Thu 01-Jan-09128
4Fri 02-Jan-09191
5Fri 02-Jan-09147
6Fri 02-Jan-09129
7Sat 03-Jan-09184
81 Total360
9Mon 05-Jan-09267
10Tue 06-Jan-09221
11Wed 07-Jan-09219
12Thu 08-Jan-09236
13Fri 09-Jan-09270
14Sat 10-Jan-09225
152 Total238
16Sun 11-Jan-09359
17Mon 12-Jan-09349
18Tue 13-Jan-09322
19Wed 14-Jan-09387
20Thu 15-Jan-09334
21Fri 16-Jan-0935
22Sat 17-Jan-09361
233 Total317
Sheet1
 
Upvote 0

Forum statistics

Threads
1,203,102
Messages
6,053,538
Members
444,670
Latest member
laurenmjones1111

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