Date to Period, Week and Day

shadbolt

Board Regular
Joined
Sep 20, 2007
Messages
90
Office Version
  1. 2016
Hello

My company work in 4 week periods from the start of the year.

Cell a1 is todays date

I would like cell b1 to show what period we are in. i.e week 1-4 is period 1, 5-8 is period 2
I would like c1 to show what week of the period we are in i.e 123 or 4
I would like d1 to show what day of the period we are in i.e 123456 or 7

and finally how many working days of the period are left. Small issue is we don't work Sundays so this number will be a max of 24.

Thanks in advance
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Rich (BB code):
=INT(WEEKNUM(TODAY())/4)

Or
Rich (BB code):
=ROUNDUP(WEEKNUM(TODAY())/4,0)

the RoundUp function is probably the better of the two. It would consider the one or two week remainder after dividing by 4.
 
Last edited:
Upvote 0
Check the suggestion with your data.
Check Excel's help for information on the functions.

T202009b.xlsm
ABC
1Thu 17-Sep-20
210Period #
338Week #
4Sun 6-Sep-20Last day previous period
52Week in period
610Workday in period
7
3a
Cell Formulas
RangeFormula
A2A2=ROUNDUP(A3/4,0)
A3A3=WEEKNUM($A$1,21)
A4A4=WORKDAY.INTL(DATE(2019,12,30),(A2-1)*4,"1111110")
A5A5=INT((A1-A4)/4)
A6A6=NETWORKDAYS.INTL(A4,A1,11)
 
Upvote 0

Forum statistics

Threads
1,214,413
Messages
6,119,374
Members
448,888
Latest member
Arle8907

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