Take week number and pull over the date of that Saturday

lmcghee

Board Regular
Joined
Jun 7, 2006
Messages
60
Office Version
  1. 365
Platform
  1. Windows
So I have a week number of the year : 46, 47, etc. I want a formula to look at that week and give me the date of the Saturday in that week. Ideas?

Example: week 46 would be Nov 16 as that Saturday. I want a formula to bring in 11/16/19.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
How about
=(DATE(2019,1,-2)-WEEKDAY(DATE(2019, 1, 3))+A2*7)+5
 
Upvote 0
with date in A2 try this
=A2+7-WEEKDAY(A2)

The posted range is not as per the worksheet - so image added
Dates.jpg



Cell Formulas
RangeFormula
B2, B3:B28B2=WEEKNUM(A2)
C2, C3:C28C2=A2
D2, D3:D28D2=A2+7-WEEKDAY(A2)
E2E2=" "&FORMULATEXT(D2)
 
Last edited:
Upvote 0
ignore my suggestion - @Fluff reply made me realise that I did not read requirements correctly :eek:
 
Upvote 0
Same as @Fluff formula , but simpler

=DATE(2019,1,1)-WEEKDAY(DATE(2019,1,1))+A2*7

last Saturday of previous year
=DATE(2019,1,1)-WEEKDAY(DATE(2019,1,1))
plus number of day to add
+A2*7
 
Upvote 0
@imcghee
Whilst my formula follows the ISO week numbering system, where week 1 is the week containing the first Thursday of the year
The formula Yongle has supplied uses week 1 is the week containing 1st January, which is the Xl default

Not sure which you want, but for some years they will give different results.
 
Upvote 0
Whilst my formula follows the ISO week numbering system, where week 1 is the week containing the first Thursday of the year
The formula Yongle has supplied uses week 1 is the week containing 1st January, which is the Xl default
@Fluff - Thanks for clarifying that - I did not even consider that little wrinkle :unsure:
 
Upvote 0
No did I, I'm just used to the ISO system & didn't even realise that Xl doesn't use it.
Interestingly for 2016 Xl shows there are 53 weeks o_O
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,618
Members
449,092
Latest member
amyap

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