unsolved
Developing a formula to automatically set a semi-monthly billing date.
I'm trying to develop a formula that automatically sets a semi-monthly billing period (start date one column, end date in another). Our start date will always be a Sunday and an end date will always be a Saturday with 2 billing periods in a month (October for instance starts 09/27/26, semi-monthly ends 10/10/26, month end is 10/31/26). October is a 5 week month so there isn't a consistent 14 days between billing periods like other months. What formula can I use to automatically calculate billing end dates (start dates are just end dates +1 so they are simple). I have tried a combination of EOMONTH with lots of logic statements and I have come close to reaching a solution but when I do a check column with confirmed billing periods it doesn't align. Sample billing periods below to assist in validation (posting on mobile, apologies for not posting a table):
Back to the example of October. Does the first statement have to be on the 10th? can it be on the 17th?
Have you considered halving all the months and then go the closest Sunday? For example, Oct has 31 days, 31/2 = 15.5 = 15. The 15th is a Thursday, closest weekend would be the 17th to close the first term and tie it with the start of the previous one
Just for a sanity check, is there a reason you aren't either doing this bi-weekly (26 / year; aka every other Sunday) instead of semi-monthly? Alternatively, if you only want 24 payments per year is there a reason you aren't doing the 1st and 15th of each month?
The explained payment method makes the largest variance in payment gaps possible and I assume this is why the two methods I bring up are usually used.
I can't answer this, I'm just trying to make something work that has been set up institutionally with our accounting team. I'm a project manager that is needing to make it work with the systems that are already in place.
Fair enough. How did they decide to cut out the October week though instead of August (for example pattern you gave August has 3 payments, 8/2, 8/16, 8/30...). This is what I came up with (NOT matching exactly to your example, but picks the 2 Sundays closest to the 1st and 15th of the month)
I note that the above solution relies on the use of 1900 date system
Below formula works with both 1900 and 1904 date systems and assumes that only the periods ending with the last Saturday of the month can be 3 weeks long:
•
u/AutoModerator 20h ago
/u/Phillimac16 - Your post was submitted successfully.
Solution Verifiedto close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.