willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 921
- Office Version
- 365
- Platform
- Windows
Is there a way to combine these 3 formulas?
=MAX(DATE(T2,1,1),DATE(T2,1,1)-WEEKDAY(DATE(T2,1,1),2)+(S2-1)*7+1)
=MIN(DATE(T2+1,1,0),DATE(T2,1,1)-WEEKDAY(DATE(T2,1,1),2)+(S2*7))
=CONCATENATE(TEXT(U2,"[$-409]D-MMM;@")," to ",(TEXT(V2,"[$-409]d-mmm;@")))
(T2 is the year and S2 is the week number)
1st determines the max date in a week number
2nd determines the min date in a week number
3rd combines the results of the first 2 so they give the week number range, example:
Week 38 is: 16-Sep to 22-Sep
Any help would be appreciated.
Thank you
Carla
=MAX(DATE(T2,1,1),DATE(T2,1,1)-WEEKDAY(DATE(T2,1,1),2)+(S2-1)*7+1)
=MIN(DATE(T2+1,1,0),DATE(T2,1,1)-WEEKDAY(DATE(T2,1,1),2)+(S2*7))
=CONCATENATE(TEXT(U2,"[$-409]D-MMM;@")," to ",(TEXT(V2,"[$-409]d-mmm;@")))
(T2 is the year and S2 is the week number)
1st determines the max date in a week number
2nd determines the min date in a week number
3rd combines the results of the first 2 so they give the week number range, example:
Week 38 is: 16-Sep to 22-Sep
Any help would be appreciated.
Thank you
Carla