Computer Learning Zone CLZ Access Excel Word Windows

Intelligence is the ability to adapt to change.

-Stephen Hawking
 
Home   Courses   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Access >
Back to TechHelp    Comments List
Biweekly payroll Upload Images   Link   Email  
Stacey Doucette 
Is there a function that returns a number between 1 and 26, identifying the biweekly pay period for each date of a calendar year?  Or, is there another way to accomplish this?  I am working on a reference table that lists all dates for 2024 and the corresponding pay period, but wondered if there is an automated way to accomplish this.  
Kevin Robertson
How are you adding the dates to the table?
What does your table structure look like?
Richard Rost
You could take the Week of Year number and just integer divide it by 2.
Stacey Doucette
I have one table that contains a date field and a pay period field. In the date field, I list each day of the year in mm/dd/yyyy format (1/1/2024, 1/2/2024, etc through year). In the pay period field, I list the number (1-26) corresponding to the payroll date, for example 1/1/2024 - 1/14/2024 might be '1', 1/15/2024 - 1/21/2024 might be 2 and so on (depending on pay date), until I have grouped all dates into their appropriate payroll period. The idea is to join this table to a transaction table, by date field, so that I can match the date to the corresponding pay period.  I am building a cash flow system.
Richard Rost
How do you determine the pay period? Is it based on the first day of the year? First full week of the year? There are a lot of different methods for determining "the first week of the year" from an accounting standpoint.
Stacey Doucette
I am starting with 1/3/24, because its my first pay period of 2024.  I am building this for my own use.
Richard Rost
Right, but if you want to codify it in your database for future years, we need a rule to use for your algorithm.
Add a Reply Upload an Image

 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 2/24/2024 2:38:30 AM. PLT: 0s