Hi,
We've recently changed the method by which we track our hours worked here where I am employed. I've created an Excel-based time sheet for our use at work to help keep the paperwork looking neat and help us in tracking this. It worked great until the recent holidays when a particular shortcoming was illustrated. On my supervisor's payroll sheet with which he keeps track of the types of hours we've worked and which he submits to our payroll department, it has cells indicating "holiday hours worked" and "holiday hours not worked". The one which I've created does not; this requires him to determine how many hours of each type an employee may have accrued over a pay period. He's asked that I modify the time sheet to include any hours someone may have worked at the higher Holiday Worked rate and an entry for hours someone may accrue through holidays in which they receive paid time off.
What I need (and I'm not even sure if it's possible) is for the time sheet to check if a given date is one of our recognized holidays for which we'd be paid at a higher rate if we've actually worked it. Based on whether or not a given date is one of those holidays, it would calculate the hours worked and input that number in the proper cell (whether it be Regular Hours or Holiday (Worked)).
Is this possible and, if so, can someone show me how it's done?
I've attached a copy of the original sheet and the re-designed look I created to try to include the information he requires.
Hello & welcome to the forum.
For regular hours use,
=IF(COUNTIF('Holiday Schedule'!$B$4:$B$30,B7),0,((B14-B12)+(B10-B8))*24)
For Holiday hours,
=IF(COUNTIF('Holiday Schedule'!$B$4:$B$30,B7),((B14-B12)+(B10-B8))*24,0)
HTH; Haseeb
If your problem is solved, please say so clearly, and mark your thread as Solved:
Forum Rules & How to Mark a thread as SOLVED
That works great! Thanks for your help.![]()
Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks