Distribute value across cells

ctlcdm

New Member
Joined
Sep 21, 2018
Messages
2
I've looked at this until my eyes are crossed and I'm sure someone out there can easily figure this out.

I need a formula to spread project time hours across weekdays to equal 8 hours/day and 40 hours/week. I'm looking for a formula to copy from C2:G10, please.

ABCDEFG
1Project NumberProject HoursMondayTuesdayWednesdayThursdayFriday
2100177
31002514
41003642
5100466
6100533
7100611
81007945
9100822
10100911
11Total Hours4088
888

<tbody>
</tbody>

Thank you in advance!!!
 

Some videos you may like

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Dave Patton

Well-known Member
Joined
Feb 15, 2002
Messages
4,628
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
<b>Excel 2010</b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);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><th>F</th><th>G</th><th>H</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">1</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">Project Number</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">Project Hours</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">Monday</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">Tuesday</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">Wednesday</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">Thursday</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">Friday</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1001</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">7</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">7</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">4</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1002</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">5</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">4</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">5</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1003</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">6</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">4</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">2</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">6</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1004</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">6</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">6</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">7</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1005</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">3</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">3</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">8</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1006</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">9</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1007</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">9</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">4</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">5</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">10</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1008</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">2</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">2</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">11</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1009</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1</td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="text-align: center;color: #333333;background-color: #FAFAFA;;">1</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">12</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">Total Hours</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">40</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;"></td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">8</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">8</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">8</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">8</td><td style="font-weight: bold;text-align: center;color: #333333;background-color: #FAFAFA;;">8</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">13</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr></tbody></table><p style="width:1.2em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">1e</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);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 width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">D3</th><td style="text-align:left">=MIN(<font color="Blue">$B3,8,8-SUM(<font color="Red">D$2:D2</font>),$B3-SUM(<font color="Red">$C3:C3</font>)</font>)</td></tr></tbody></table></td></tr></table><br />

N.B.
There is a blank row 2 and a blank Column C
Copy the formula in D3 across and down.
 
Last edited:

ctlcdm

New Member
Joined
Sep 21, 2018
Messages
2
Dave - you are an excel genius and I greatly appreciate your help!!!
 

Watch MrExcel Video

Forum statistics

Threads
1,127,472
Messages
5,624,925
Members
416,064
Latest member
PaulBr2

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