Chris_010101

Board Regular
Joined
Jul 24, 2017
Messages
183
Office Version
  1. 365
Platform
  1. Windows
Hello All,

I need a formula that looks back 11 weeks from a given date and returns the Sunday at the beginning of that week.

- Example, 27/10/2022. 11 weeks prior is 11/08/2022 and the Sunday beginning that week is 07/08/2022. The formula would return 07/08/2022.

I also need one that looks back 41 weeks from a given date and returns the Sunday at the beginning of that week.

Kind Regards
Chris
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
How about
Excel Formula:
=WORKDAY.INTL(A2,-12,"1111110")
 
Upvote 0
How about
Excel Formula:
=WORKDAY.INTL(A2,-12,"1111110")
Thank you,

This works for Monday - Saturday but if the date in A2 is a Sunday, it returns the Sunday the week prior.

Example,
Saturday, 1 October 2022 - returns Sunday, 10 July 2022 - ok
Sunday, 2 October 2022 - returns Sunday, 10 July 2022 - need it to return Sunday, 17 July 2022

This is for a maternity leave calculator and the law regarding dates and entitlements is very complex.

Kind Regards
Chris
 
Upvote 0
Ok, how about
Excel Formula:
=WORKDAY.INTL(A2+1,-12,"1111110")
 
Upvote 0
Solution
Upvote 0

Forum statistics

Threads
1,213,494
Messages
6,113,986
Members
448,538
Latest member
alex78

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