Need to return dates not sure either formula or macro

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,125
Office Version
  1. 365
Platform
  1. Windows
I need to return dates as i have to look back on stuff. I need to return every Monday to Sunday Dates on excel sheet doesnt matter where from 2018 and on.

Example
Starting January 2018 i need to return like this

1-7
8-14
15-21
22-28

I need to retunr in cells all the way down if i can like this above on and on. As you will tell 1 is for monday and 7 is fro sunday. Them 8 is for monday and 14 is for sunday.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hmm . . . weird . . . do you really want to do this ? :-)

It's probably do-able.
Just to be clear, what do you want to do with the end of January 2018 ?
Do you want
29-4
?

Or something else ?
 
Upvote 0
this is the full list of all Monday & Sunday in 2018, all you needed is put the first Monday in A1, copy A2 and B1 all the way down


Book1
AB
101/01/201807/01/2018
208/01/201814/01/2018
315/01/201821/01/2018
422/01/201828/01/2018
529/01/201804/02/2018
605/02/201811/02/2018
712/02/201818/02/2018
819/02/201825/02/2018
926/02/201804/03/2018
1005/03/201811/03/2018
1112/03/201818/03/2018
1219/03/201825/03/2018
1326/03/201801/04/2018
1402/04/201808/04/2018
1509/04/201815/04/2018
1616/04/201822/04/2018
1723/04/201829/04/2018
1830/04/201806/05/2018
1907/05/201813/05/2018
2014/05/201820/05/2018
2121/05/201827/05/2018
2228/05/201803/06/2018
2304/06/201810/06/2018
2411/06/201817/06/2018
2518/06/201824/06/2018
2625/06/201801/07/2018
2702/07/201808/07/2018
2809/07/201815/07/2018
2916/07/201822/07/2018
3023/07/201829/07/2018
3130/07/201805/08/2018
3206/08/201812/08/2018
3313/08/201819/08/2018
3420/08/201826/08/2018
3527/08/201802/09/2018
3603/09/201809/09/2018
3710/09/201816/09/2018
3817/09/201823/09/2018
3924/09/201830/09/2018
4001/10/201807/10/2018
4108/10/201814/10/2018
4215/10/201821/10/2018
4322/10/201828/10/2018
4429/10/201804/11/2018
4505/11/201811/11/2018
4612/11/201818/11/2018
4719/11/201825/11/2018
4826/11/201802/12/2018
4903/12/201809/12/2018
5010/12/201816/12/2018
5117/12/201823/12/2018
5224/12/201830/12/2018
Sheet1
Cell Formulas
RangeFormula
B1=6+A1
A2=7+A1
 
Upvote 0
This is it. Why didnt i think of this this way. Thanks for the help. I really didnt think it out to much. :)
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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