FUNCTION/FORMULA or VBA: Copying Across Cells

smac001

New Member
Joined
Feb 18, 2013
Messages
12
Hi wonder if this can be done in a formula or would it have to be vba. Looking to only generate the dates based on the number of weeks. Currently the spreadsheet shows 20 weeks, but if there is only 5 weeks I don't want to have go and delete the formula in case the dates change. The current formula WK1 = Start date + 7, WK2 = WK1 + 7, so on and so forth. Example below....
Start Date</SPAN>Est. End Date</SPAN> # of Weeks
</SPAN>
Est. Open Date</SPAN>Week 1</SPAN>Week 2</SPAN>Week 3</SPAN>
3/18/13</SPAN>4/23/13</SPAN>5</SPAN>4/26/13</SPAN>3/25/13</SPAN>4/1/13</SPAN>4/8/13</SPAN>

<TBODY>
</TBODY><COLGROUP><COL span=2><COL><COL><COL><COL><COL></COLGROUP>
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Based on start date in cell A2(adjust as you need)
=IF(COLUMNS($A$2:A2)>$C2,"",$A$2+COLUMNS($A$1:A1)*7)
Drag down and accross
 
Upvote 0
Hi the formula works, I have another condition in the cell to only display the date if cell g is less than today's date however when I test it does not work. Would you be able to assist? Here is the formula =IF(G26<="()TODAY","",IF(COLUMNS($G$6:G6)>$I6,"",$G$6+COLUMNS($G$3:G3)*7))
 
Upvote 0

Forum statistics

Threads
1,196,048
Messages
6,013,096
Members
441,747
Latest member
darkman77

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