Auto fill

Copper Contributor

How do i autofill date cells for weekly dates, ie 

Begin date

1/24/20211/30/2021
1/31/20212/6/2021
3 Replies

@pjstar 

 

= Date-WEEKDAY (date, 2) +1

= Date-WEEKDAY (date, 2) +7

Greeting,

You have to be careful with the calendar week function.

It could be that the calculation is based on the American standard that deviates from the European standard.

 

* Add a MS Excel file (without sensitive data) to your project, for better understanding. Knowing the Excel version and operating system would also be an advantage.

 

I would be happy to know if I could help.

 

I wish you continued success with Excel

 

Nikolino

I know I don't know anything (Socrates)

Hi @pjstar 

It seems you have a pattern here, 

it starts with Sun and end with Sat, and the next row start with the next Sun and ends on Sat

Just select the four cells and drag the courser down and it will auto fill them.

Please find the excel workbook attached

 

 

* If my post helped you, please click on like.

 

@pjstar 

One more variant

image.png

Enter in B2 first date, in another cells formulas as on the right and drag B3:C3 down till end of the dates range.

If you are on Excel with dynamic arrays you may use formula

=IF({1,0},SEQUENCE(52,1,DATE(2021,1,24),7),SEQUENCE(52,1,DATE(2021,1,24)+6,7))

and apply date format to the result

image.png