What I want to do is be able to enter a start and end date in two cells on one sheet and have all the dates from the start date to the end date be entered in a row on the next sheet.
This is what I have so far, with the dates done using the fill method from a start date. The values in the rows below are assigned based on conditional statements that refer to the dates above the cell. I want to start at cell B2 with the start date then fill in all the dates until it reaches the end date. In the column after the end date I have simple summing formulas for each row that I want to be automatically adjusted so they are always at the end of the dates and always sum the whole row.
<table border="0" cellpadding="0" cellspacing="0" width="792"><colgroup><col style="mso-width-source:userset;mso-width-alt:2633; width:54pt" span="11" width="72"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td class="xl68" style="height:15.0pt;width:54pt" height="20" width="72">01-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">02-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">03-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">04-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">05-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">06-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">07-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">08-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">09-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">10-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">11-Sep-11</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl67" style="height:15.0pt;border-top:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none" height="20"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl67" style="height:15.0pt;border-top:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none" height="20"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none"> $ 111.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 111.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 111.00 </td> </tr> </tbody></table>
Any help would be greatly appreciated. Thanks.
This is what I have so far, with the dates done using the fill method from a start date. The values in the rows below are assigned based on conditional statements that refer to the dates above the cell. I want to start at cell B2 with the start date then fill in all the dates until it reaches the end date. In the column after the end date I have simple summing formulas for each row that I want to be automatically adjusted so they are always at the end of the dates and always sum the whole row.
<table border="0" cellpadding="0" cellspacing="0" width="792"><colgroup><col style="mso-width-source:userset;mso-width-alt:2633; width:54pt" span="11" width="72"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td class="xl68" style="height:15.0pt;width:54pt" height="20" width="72">01-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">02-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">03-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">04-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">05-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">06-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">07-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">08-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">09-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">10-Sep-11</td> <td class="xl68" style="border-left:none;width:54pt" width="72">11-Sep-11</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl67" style="height:15.0pt;border-top:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none" height="20"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 145.00 </td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl67" style="height:15.0pt;border-top:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none" height="20"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none;font-size:11.0pt; color:black;font-weight:400;text-decoration:none;text-underline-style:none; text-line-through:none;font-family:Calibri;border:.5pt solid windowtext; background:black;mso-pattern:black none"> $ - </td> <td class="xl67" style="border-top:none;border-left:none"> $ 111.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 111.00 </td> <td class="xl67" style="border-top:none;border-left:none"> $ 111.00 </td> </tr> </tbody></table>
Any help would be greatly appreciated. Thanks.
Last edited: