Incrementing Dates

Rokey

New Member
Joined
Aug 17, 2017
Messages
9
Hi.
I have starting and ending dates as follows:
Cell A1 is 11/09
Cell A2 is 15/09

Cell A3 I have =TEXT(A1, "dd/mm")&" - "&TEXT(A2, "dd/mm")

This returns a result of 11/09 - 15/09 in Cell A3

In Cell B3 I want to increment the dates shown in Cell A3 by 7 days without the need of incrementing rows 1 & 2 (so leaving A1 and A2 as they are) so that B3 would be 18/09 - 22/09, C3 would be 25/09 - 29/09 etc

Any thoughts???

Tim
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
In B3 try formula:
Code:
=TEXT($A$1+7*(COLUMN()-1),"dd/mm")&" - "&TEXT($A$2+7*(COLUMN()-1), "dd/mm")
Then copy to B3, C3 etc
 
Upvote 0
Thanks for that and it works perfectly using the cell references I gave.
For one sheet where the date range starts in column OD, in column OE I used this which seems to work:
=TEXT($OD$1+(7*COLUMNS($OD:OD)), "dd/mm")&" - "&TEXT($OD$2+(7*COLUMNS($OD:OD)), "dd/mm")
The logic fell into place pretty quickly and many thanks for your help.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,331
Members
452,636
Latest member
laura12345

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