formula to convert weeky days to monthly days

2seas

New Member
Joined
Jul 6, 2010
Messages
4
Hi,

I currently have a number of columns called "Week Ending" for all the weeks from 14/03 to 04/07. E.g. the first column is "14/03", the second is "21/03" the third is "28/03" so on... Under each column I track the work done by someone that week.

What I need is a formula to sum this info into a monthly profile: ie into columns for Mar, Apr, May etc.

Due to the fact that some weeks overlap this is tricky.. Can anyone please help? Would prefer to keep it simply and not go down the macro route if possible.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

jmthompson

Well-known Member
Joined
Mar 31, 2008
Messages
966
If you transpose your data and add a new helper Month column, you could use Subtotals or Pivots to perform this task...

Excel 2007<table style="background-color: rgb(255, 255, 255); border: 1px solid rgb(166, 170, 182); border-collapse: collapse;" cellpadding="2.5px" rules="all"><colgroup><col style="background-color: rgb(224, 224, 240);" width="25px"><col><col><col><col><col></colgroup><thead><tr style="background-color: rgb(224, 224, 240); text-align: center; color: rgb(22, 17, 32);"><th>
</th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th></tr></thead><tbody><tr><td style="color: rgb(22, 17, 32); text-align: center;">1</td><td style="">Month</td><td style="">Week</td><td style="">Bob</td><td style="">Joe</td><td style="">Steve</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">2</td><td style="text-align: right;">3</td><td style="text-align: right;">07/03</td><td style="text-align: right;">7</td><td style="text-align: right;">8</td><td style="text-align: right;">9</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">3</td><td style="text-align: right;">3</td><td style="text-align: right;">14/03</td><td style="text-align: right;">8</td><td style="text-align: right;">9</td><td style="text-align: right;">10</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">4</td><td style="text-align: right;">3</td><td style="text-align: right;">21/03</td><td style="text-align: right;">9</td><td style="text-align: right;">10</td><td style="text-align: right;">11</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">5</td><td style="text-align: right;">3</td><td style="text-align: right;">28/03</td><td style="text-align: right;">0</td><td style="text-align: right;">1</td><td style="text-align: right;">2</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">6</td><td style="text-align: right;">4</td><td style="text-align: right;">04/04</td><td style="text-align: right;">10</td><td style="text-align: right;">11</td><td style="text-align: right;">12</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">7</td><td style="text-align: right;">4</td><td style="text-align: right;">11/04</td><td style="text-align: right;">11</td><td style="text-align: right;">12</td><td style="text-align: right;">13</td></tr></tbody></table>
Sheet2


<table style="border: 2px solid black; border-collapse: collapse; padding: 0.4em; background-color: rgb(255, 255, 255);" cellpadding="2.5px" width="85%" rules="all"><tbody><tr><td style="padding: 6px;">Worksheet Formulas<table style="border: 1px solid rgb(166, 170, 182); text-align: center; background-color: rgb(255, 255, 255); border-collapse: collapse;" cellpadding="2.5px" width="100%" rules="all"><thead><tr style="background-color: rgb(224, 224, 240); color: rgb(22, 17, 32);"><th width="10px">Cell</th><th style="text-align: left; padding-left: 5px;">Formula</th></tr></thead><tbody><tr><th style="background-color: rgb(224, 224, 240); color: rgb(22, 17, 32);" width="10px">A2</th><td style="text-align: left;">=(MONTH(B2))</td></tr><tr><th style="background-color: rgb(224, 224, 240); color: rgb(22, 17, 32);" width="10px">A3</th><td style="text-align: left;">=(MONTH(B3))</td></tr><tr><th style="background-color: rgb(224, 224, 240); color: rgb(22, 17, 32);" width="10px">A4</th><td style="text-align: left;">=(MONTH(B4))</td></tr><tr><th style="background-color: rgb(224, 224, 240); color: rgb(22, 17, 32);" width="10px">A5</th><td style="text-align: left;">=(MONTH(B5))</td></tr><tr><th style="background-color: rgb(224, 224, 240); color: rgb(22, 17, 32);" width="10px">A6</th><td style="text-align: left;">=(MONTH(B6))</td></tr><tr><th style="background-color: rgb(224, 224, 240); color: rgb(22, 17, 32);" width="10px">A7</th><td style="text-align: left;">=(MONTH(B7))</td></tr></tbody></table></td></tr></tbody></table>


Excel 2007<table style="background-color: rgb(255, 255, 255); border: 1px solid rgb(166, 170, 182); border-collapse: collapse;" cellpadding="2.5px" rules="all"><colgroup><col style="background-color: rgb(224, 224, 240);" width="25px"><col><col><col><col></colgroup><thead><tr style="background-color: rgb(224, 224, 240); text-align: center; color: rgb(22, 17, 32);"><th>
</th><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead><tbody><tr><td style="color: rgb(22, 17, 32); text-align: center;">3</td><td style="text-align: right; border: 1px solid black;">
</td><td style="border: 1px solid black;">Data</td><td style="text-align: right; border: 1px solid black;">
</td><td style="text-align: right; border: 1px solid black;">
</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">4</td><td style="border: 1px solid black;">Month</td><td style="border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black;">Sum of Bob</td><td style="border-top: 1px solid black; border-bottom: 1px solid black;">Sum of Joe</td><td style="border-top: 1px solid black; border-right: 1px solid black; border-bottom: 1px solid black;">Sum of Steve</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">5</td><td style="text-align: right; border-top: 1px solid black; border-right: 1px solid black; border-left: 1px solid black;">3</td><td style="text-align: right; border-top: 1px solid black; border-left: 1px solid black;">24</td><td style="text-align: right; border-top: 1px solid black;">28</td><td style="text-align: right; border-top: 1px solid black; border-right: 1px solid black;">32</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">6</td><td style="text-align: right; border-right: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black;">4</td><td style="text-align: right; border-bottom: 1px solid black; border-left: 1px solid black;">21</td><td style="text-align: right; border-bottom: 1px solid black;">23</td><td style="text-align: right; border-right: 1px solid black; border-bottom: 1px solid black;">25</td></tr><tr><td style="color: rgb(22, 17, 32); text-align: center;">7</td><td style="border: 1px solid black;">Grand Total</td><td style="text-align: right; border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black;">45</td><td style="text-align: right; border-top: 1px solid black; border-bottom: 1px solid black;">51</td><td style="text-align: right; border-top: 1px solid black; border-right: 1px solid black; border-bottom: 1px solid black;">57</td></tr></tbody></table>
Sheet6
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,389
Messages
5,836,972
Members
430,464
Latest member
nickburrett

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
Top