How do you change the month to reflect a specific pay date range?

shinexcel

New Member
Joined
Oct 9, 2022
Messages
5
Office Version
  1. 365
Platform
  1. MacOS
I am looking to set the months up within the period of my pay days, so to properly reflect my spending within that period.
I get paid on 26th of each a month, so I would like to set it so that each month starts from 26th.

e.g.

July 2022. - Pay Period: 26.07.22 - 25.08.22

Aug 2022 - Pay Period: 26.08.22 - 25.09.22

Sep 2022 - Pay Period: 26.09.22 - 25.10.22

so on and so forth...

However, in the months which the 26th falls on a weekend, the pay date changes to the nearest preceding week-day.
So following from the example above the next pay period would be:

Oct 2022 - Pay Period: 26.10.22 - 24.11.22. not... 26.10.22 - 25.11.22
...as Nov 26th 2022 falls on a weekend, so therefore pay date is the nearest preceding week-day, which is 25.11.22.

So the Pay period after that would be .... Nov 2022 - Pay Period: 25.11.22 - 25.12.22


Hope this make sense. If not please ask for clarification.


Question:
How can I set this up in excel?

I ideally want to have an input table where when I type in September - the month covers a range of my specific pay periods...

1665313323979.png
....
1665313267078.png
..


I am relatively new to excel so my know-how is very limited. All solutions welcome.


Thanks in advance
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Check this -

Note:
  • I have used formulae every where to keep dates dynamic
  • Rather than using "Jan" if you will use "M 01" as month, the reference can be used to identify the time frame.
  • Whole concept is to give you some idea, rest you have explore as per your needs
  • Still if you need any further help, feel free to ask.
Cell Formulas
RangeFormula
A2A2=DATE(YEAR(TODAY()),1,26)
B2:B13B2=EDATE(A2,1)
C2:C13C2="M "&TEXT(MONTH(A2),"00")
A3A3=DATE(YEAR(TODAY()),2,26)
A4A4=DATE(YEAR(TODAY()),3,26)
A5A5=DATE(YEAR(TODAY()),4,26)
A6A6=DATE(YEAR(TODAY()),5,26)
A7A7=DATE(YEAR(TODAY()),6,26)
A8A8=DATE(YEAR(TODAY()),7,26)
A9A9=DATE(YEAR(TODAY()),8,26)
A10A10=DATE(YEAR(TODAY()),9,26)
A11A11=DATE(YEAR(TODAY()),10,26)
A12A12=DATE(YEAR(TODAY()),11,26)
A13A13=DATE(YEAR(TODAY()),12,26)
 
Upvote 0
Check this -

Note:
  • I have used formulae every where to keep dates dynamic
  • Rather than using "Jan" if you will use "M 01" as month, the reference can be used to identify the time frame.
  • Whole concept is to give you some idea, rest you have explore as per your needs
  • Still if you need any further help, feel free to ask.
Cell Formulas
RangeFormula
A2A2=DATE(YEAR(TODAY()),1,26)
B2:B13B2=EDATE(A2,1)
C2:C13C2="M "&TEXT(MONTH(A2),"00")
A3A3=DATE(YEAR(TODAY()),2,26)
A4A4=DATE(YEAR(TODAY()),3,26)
A5A5=DATE(YEAR(TODAY()),4,26)
A6A6=DATE(YEAR(TODAY()),5,26)
A7A7=DATE(YEAR(TODAY()),6,26)
A8A8=DATE(YEAR(TODAY()),7,26)
A9A9=DATE(YEAR(TODAY()),8,26)
A10A10=DATE(YEAR(TODAY()),9,26)
A11A11=DATE(YEAR(TODAY()),10,26)
A12A12=DATE(YEAR(TODAY()),11,26)
A13A13=DATE(YEAR(TODAY()),12,26)
Thanks for taking time out to put this together . I will try this and let you know.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: How to change month format to a specific date range?
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,215,833
Messages
6,127,156
Members
449,366
Latest member
reidel

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