Formula for Week Ending Dates but also stop at Fiscal Month End

johnny51981

Active Member
Joined
Jun 8, 2015
Messages
366
I have a need to have a reporting calendar created.

My weekly reporting period Starts on Sundays and Ends on Saturdays. I am easily able to get this in as a formula.

However, our Fiscal Months run from the 22nd to the 21st.

What I would like to have is a formula that would give me every Friday Date as the Reporting End Date, but also give me the 21st as the Reporting End Date no matter what day of the week it lands.

Here is what I would like my desired results to look like:
Start DateEnd Date
12/22/202112/25/2021
12/26/20211/1/2022
1/2/20221/8/2022
1/9/20221/15/2022
1/16/20221/21/2022
1/22/20221/22/2022
1/23/20221/29/2022
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Maybe
Excel Formula:
=IF(AND(DAY(A2)>15,DAY(A2)<22,DAY(A2)-WEEKDAY(A2)>14),--TEXT(A2,"yyyy-mm-\2\1"),WORKDAY.INTL(A2-1,1,"1111101"))
 
Upvote 0

Forum statistics

Threads
1,215,517
Messages
6,125,287
Members
449,218
Latest member
Excel Master

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