• 0

Excel Time Sheet - Bi-Monthly time calculating overtime...headache


Question

I'm building an Excel program to replace employees just using MS Word to submit time sheets. We are paid on the 15th and the last day of the month. Our time periods run from the 11th through 25th and 26th through 10th. Time sheets are due on the last day of the pay period.

I am working on an Excel which each employee will fill out (on a shared network drive). My goal is to have our HR person open a master time sheet that shows names of each employee and the hours for that pay period. No time calculations are needed; we just enter (in decimal format) how many hours we work each week.

I have built this program and it's quite complex, but I'm having some issues. Most pay periods have 15 days. Some have 14 and more have 16. This causes my totals to be off. I'm attaching the Excel 2007 file so you can see what I mean (that's the only way you'll be able to).

I'm open for recommendations, even a PHP-based timesheet app as long as it will allow users to just go in at the end of the pay period and enter all the time in (without IN/OUT times). We need it to be simple for EUs to enter.

Don't worry about how it looks; it'll be cleaned up (cols hidden, etc) when it's ready.

2 things I'm asking here: 1) How can I make it work the way I need to? 2) How do I build a master file that links and updates a multitude of these files?

Master_Timesheet_Template.zipFetching info...

8 answers to this question

Recommended Posts

  • 0

I think I found a solution using the sumif function. Give me 10 minutes and I will have something.

*Edit*

I did it.

I slitted the two period in two columns. I have not checked the overtime tough.

Master_Timesheet_Template.zipFetching info...

Edited by Lewism
  • 0

That is a very interesting approach. I'm pretty sure I can make it work with OT and everything else. Thanks a ton! I'll let you know if I get it working and post the full file in case anyone else needs to use the same kind of thing.

  • 0

The same thing could be done with the overtime since you will probably have the same problem. And later you can hide those columns.

As for the master file, Excel let you link files.

=[Test.xlsx]Sheet1!$B$3

Lets say you use this formula in "Master Template.xlsx", it will go pick the data of Cell B3 in Sheet1 in Test.xlsx.

To create a link easily, open the two files and type = and chose a cell on the other file.

However, you will have a do this for each file that you have in that directory. I believe it could be done with VBA to automate this.

  • 0

Okay, I'm stuck again. I'm wondering if this is too complex for Excel and I need to use Access or something.

I'm wondering about the OT/Sick/Vaca time calculation and the primary Payroll Hours calculation. If you look at the formula for Payroll Hours, you will see some SUM calculations are off their proper ranges. The 14/15/16 day periods is moving the ranges improperly. It's as if we need a dynamic cell range to calculate based on an IF statement.

Oi this is complicated.

Here's an updated/modified version

Master_Timesheet_Template_2.zipFetching info...

  • 0

I've added a column that places the word Begin and the word End in the row that begins and the row that ends the pay period. I've set the Payroll Hrs formula to something along these lines:

SUM(IF(D5="Begin",L5,IF(D6="Begin",L6,If(D7="Begin",L7,If(D8="Begin",L8,"")))):L21

It dynamically chooses the beginning of the range. It's kind of exactly what I was looking for, I'm just not sure it's perfect.

Master_Timesheet_Template_3.zipFetching info...

  • 0

SOLVED! I'm pretty sure I got everything working. The long and short of the answer is that you can use IF statements to specify a range.

Ex: SUM(IF(C1=5,C1,IF(C2=5,C2)):C10)

I'm pretty happy with the outcome. I appreciate all your help guys.

Also, if anyone is looking for this kind of spreadsheet, go ahead and use it. I don't want to see anyone selling it though :)

Also, I added a formula that simply applied the words "This Pay Period," "Next Pay Period," or "Last Pay Period" for easy filtering. Filter that column and view only entries from this pay period. Woot!

Master_Timesheet_Template_Final.zipFetching info...

  • 0

I now have a finished product. I have cleaned everything up and made it pretty and usable, as well as (more importantly) setting up the admin sheet that links to the individual files. I used VLOOKUP in that book to pull only the 4 fields (hours, OT, sick, vaca) based on a date that's in the Admin file. You'll obviously need to update the links in the Admin file to your filenames, as right now it comes up #N/A.

I'm uploading both files, unprotected, so you can learn from my 20 hour adventure.

Thanks to everyone for their help.

SemiMonthlyTimeSheet.zipFetching info...

  • 0
  ttam said:
I now have a finished product. I have cleaned everything up and made it pretty and usable, as well as (more importantly) setting up the admin sheet that links to the individual files. I used VLOOKUP in that book to pull only the 4 fields (hours, OT, sick, vaca) based on a date that's in the Admin file. You'll obviously need to update the links in the Admin file to your filenames, as right now it comes up #N/A.

I'm uploading both files, unprotected, so you can learn from my 20 hour adventure.

Thanks to everyone for their help.

How do I adjust it for a pay schedule that ranges from the first of the month to the 15th, and 16th to the end of the month?

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I think you misread the article. The proposed features doesn't create articles, it adds a summery section to existing articles that is AI generated, and based on the screenshot provided, does make it very clear that it is machine generated.
    • Lol, who still expects privacy in a facecrook-owned product these days? Let alone one that's 100% cloud hosted and doesn't function offline...
    • I stand by my "reading comprehension" statement. Every single point you bring up here I have already replied to in detail in. I am not going to spend time repeating myself to someone who isn't reading what I say. I am happy to have a conversation if you want to respond to anything I have said. I will happily admit when I am wrong if it comes to that. If you are just going to keep repeating your original claims and I have already responded to them, then it sounds like neither of us have any more to add to the conversation.
    • LG's UltraGear 32GX870A-B OLED gaming monitor hits a new low price by Paul Hill Are you in the US and looking for a top-of-the-line gaming monitor? Then be sure to check out the LG UltraGear OLED gaming monitor; it’s now discounted by 14% from its $1,400 list price, down to $1,210. This means you’ll be saving $190 if you decide to buy it now at its lowest price so far. Check out the buying link at the end of the article. If this monitor is still too high in price, there is also the 27-inch model available with a 20% discount bringing the price down to $796.99. In this piece, I will be focusing on the larger model, so be sure to double check the details of the 27-inch model separately for differences. If you were thinking about buying this as a Father’s Day gift, it is not going to arrive in time with standard delivery; however, you can get a Prime member trial to get it in time. 4K 240Hz or FHD 480Hz? One of the big features with the LG UltraGear OLED gaming monitor is the VESA-certified Dual Mode. It lets you select 4K Ultra-HD at 240Hz for graphically rich games where you want to see all the details or Full HD (1080p) at 480Hz for fast-paced titles. If you’re in a single-player game and want to take in all the details, the first option will be best. If you’re playing an intense multiplayer shooter, then the second option will be better to reduce lag further. Speaking of lag, this monitor supports an impressive 0.03ms GtG response time and has AMD FreeSync Premium Pro and is also Nvidia G-Sync compatible. This should ensure the monitor works well with both Nvidia and AMD graphics cards. OLED visuals and gaming experience Other notable features of this LG gaming monitor are its VESA DisplayHDR True Black 400 certification, 275 nits typical and 1,300 nits peak brightness. With all this, the monitor can render deep blacks, vivid colors, and bright highlights, delivering a superior HDR viewing experience that is especially beneficial for gaming and cinematic content in low-light environments. It features an impressive 1.5M:1 contrast ratio, an anti-glare, low reflection OLED screen, has built-in speakers and DTS Headphone:X support via 4-pole headphone jack, and it has an ergonomic stand with height, tilt, swivel, and pivot adjustments. While the “bass-driven” built-in speakers are nice for a basic setup, serious gamers, who this monitor is aimed at, will likely have a more comprehensive sound setup in place anyway that outperforms what this monitor provides. In terms of connectivity, the LG UltraGear OLED has two HDMI 2.1 ports and USB Type-C (65W power delivery). The DP 2.1 ports deliver ultra-fast data speeds for high refresh rate gameplay, helping to reduce lag and get the edge in competitive games. Finally, there is another feature called Switch App that turns your screen into a multitasking hub for work, gaming, and streaming. It lets you create up to 6 sections, customize the layouts, or launch video calls with one hotkey. This allows you to easily switch between your PC and the in-built webOS streaming platform using shortcuts. Is the LG 32GX870A-B worth it? The LG UltraGear OLED definitely offers standout features that help to justify the price, namely the up to 480Hz refresh rate. Other features like VESA DisplayHDR True Black 400 certification will also make the games you play look more accurate color-wise and if you don’t already have speakers, the monitor provides a “bass-driven” speaker setup for at least decent baseline audio. If you are a serious gamer, this monitor deserves consideration given the discount, it’s also at its lowest-ever price, so you’re not paying over the odds. If you still want a good monitor, but don’t want to pay as much, check out the 27-inch model. LG UltraGear OLED 32-inch: $1,209.14 (Amazon US) / MSRP $1,399.99 LG UltraGear OLED 27-inch: $796.99 (Amazon US) / MSRP $999.99 This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • The concept of ghost writers has existed for centuries; they don't get disclosed. I'm not sure this is different. In both cases the true author has agreed to do the work without being publicly credited. Don't get me wrong, I find the entire thing disgusting. Perhaps we agree but have slightly different standards for what the word "shady" means.
  • Recent Achievements

    • Week One Done
      fashionuae earned a badge
      Week One Done
    • One Month Later
      fashionuae earned a badge
      One Month Later
    • Week One Done
      elsafaacompany earned a badge
      Week One Done
    • Week One Done
      Yianis earned a badge
      Week One Done
    • Veteran
      Travesty went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      ATLien_0
      262
    3. 3
      +FloatingFatMan
      191
    4. 4
      +Edouard
      175
    5. 5
      snowy owl
      126
  • Tell a friend

    Love Neowin? Tell a friend!