## 7 days (weekly) date ranges using a formula

Shannon asks:I need a formula that if I enter a start date in field B1 such as 6/8/11 it will give me the date ranges for 7 days in fields B3-B14. Does that make sense?

Basically I want a formula that will tell me when a client is admitted to services on 6/8/11, their week 1 is 6/8/11 to 6/15/11; week 2 is 6/16/11-6/22/11 etc through 12 weeks.

I want the initial date in B1 to be the only value that I have to change to produce these results. Is that possible?

**Answer:**

I could create a big formula in cell range B3:B14 but instead, I am going to simplify formulas and use three columns.

The formulas are dynamic meaning when a date is entered in cell B1 cell range B3:D14 is instantly recalculated.

**Formula in cell B3:**

**Formula in cell C3:**

Copy (Ctrl + c) cell C3 and paste (Ctrl + v) to cell range C4:C14.

**Formula in cell D3:**

Copy (Ctrl + c) cell D3 and paste (Ctrl + v) to cell range D4:D14.

**Formula in cell B4:**

Copy (Ctrl + c) cell B4 and paste (Ctrl + v) to cell range B5:B14.

### Explaining formula in cell C3

=$B$1+ROW(A1)*7

#### Step 1 - Create an absolute cell reference to start date

=**$B$1**+ROWS($A$1:A1)*7

$B$1 is an absolute cell reference. To create a reference to another cell, double click cell C3. Type = and left click cell B1. The formula becomes =B1.

Let's convert the cell reference to an absolute cell reference. Absolute cell references are cell references that don't change when the cell is copied and pasted to another cell. Press F4.

The formula becomes: =$B$1.

#### Step 2 - Make dates with interval

=$B$1**+ROW(A1)*7**

ROW(A1). A1 is a relative cell reference to cell A1. A relative cell reference is a cell reference that adjusts and change when copied. ROW(A1) returns the row number of a reference. ROW(A1) returns 1.

ROW(A1)*7 becomes

1*7

and returns 7.

#### Step 3 - All together

=$B$1+ROW(A1)*7

becomes

40702+1*7

and returns 40709. Formatted as a date, cell C3 returns 6/15/11.

Cell C4 becomes =$B$1+ROW(A2)*7

=40702+2*7

becomes

=40702+14

and returns 40716. Formatted as a date, cell C4 returns 6/22/11.

Question: I am trying to create an excel spreadsheet that has a date range. Example: Cell A1 1/4/2009-1/10/2009 Cell B1 […]

Find latest date based on a condition

Table of contents Lookup a value and find max date How to enter an array formula Explaining array formula Download […]

Formula for matching a date within a date range

Table of contents Match a date when a date range is entered in a single cell Match a date when […]

Count dates inside a date range

How do I automatically count dates in a specific date range? Array formula in cell D3: =SUM(IF(($A$2:$A$10<$D$2)*($A$2:$A$10>$D$1), 1, 0)) + […]

How to calculate overlapping time ranges

I found an old post that I think is interesting to write about today. Think of two overlapping ranges, it may be dates, […]

Count specific WEEKDAYS between two dates

If you want to count specific weekdays like for example Mondays and Wednesdays you need a more complicated array formula. […]

How to count workdays between two dates

Excel contains a great function that easily counts the number of workdays between two dates, it even allows you to […]

How to calculate the number of years between dates

The image above demonstrates the DATEDIF function calculating the number of complete years between two dates. Column B and column C […]

Calculate last date of a given month

The formula in cell C3 calculates the last date for the given month and year in cell B3. =DATE(YEAR(B3), MONTH(B3)+1, […]

### 5 Responses to “7 days (weekly) date ranges using a formula”

### Leave a Reply

### How to comment

**How to add a formula to your comment**

<code>Insert your formula here.</code>

**Convert less than and larger than signs**

Use html character entities instead of less than and larger than signs.

< becomes < and > becomes >

**How to add VBA code to your comment**

[vb 1="vbnet" language=","]

Put your VBA code here.

[/vb]

**How to add a picture to your comment:**

Upload picture to postimage.org or imgur

Paste image link to your comment.

**Contact Oscar**

You can contact me through this contact form

Thanks! This is very helpful!

You are welcome!

How do I create a function that will take the date range I enter and continue with it? for example, if I enter, "12/30/13-01/05/14" in cell a3, I want a4 to have, "01/06/14-01/12/14" and so on down the column.. Any and all help would be greatly appreciated!

Very helpful. I'm at a novice level on most of Office products but I seem to muddle through alright. This got me through so I could copy/paste the date range I wanted.

I was looking for the same thing Andrew (above) referred to but this worked wonderfully. Thanks!

I have "1/1/2020" in Cell B1. I need to have a date range to show a follow-up appointment scheduled for 1 year in the future +/- 60 days from the date Displayed in cell B2 (i.e. 11/01/2020 - 03/01/2021). How can I do that?