Jump to content
  • 0

Table Formula - Count the number of Saturdays between 2 dates


kpcollier

Question

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...