My table has 12 records - 1 record for every month of the year. Each record has two date fields, the starting date of the month and the last day of the month.
I am trying to create a formula field in this table that will count the number of Saturdays between the two date fields. Essentially, I need to know the number of Saturdays in the month. I also need to do this with Sundays in a separate formula field.
As you may know, some months do not have an equal amount of Saturdays and Sundays. Sometimes, like the current month today (04/2022), there are 5 Saturdays and 4 Sundays. So, I couldn't just grab the number of weeks in the month and assume there is 1 Saturday for each one.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
kpcollier
My table has 12 records - 1 record for every month of the year. Each record has two date fields, the starting date of the month and the last day of the month.
I am trying to create a formula field in this table that will count the number of Saturdays between the two date fields. Essentially, I need to know the number of Saturdays in the month. I also need to do this with Sundays in a separate formula field.
As you may know, some months do not have an equal amount of Saturdays and Sundays. Sometimes, like the current month today (04/2022), there are 5 Saturdays and 4 Sundays. So, I couldn't just grab the number of weeks in the month and assume there is 1 Saturday for each one.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.