Payroll Macros

rdifu

New Member
Joined
Feb 28, 2022
Messages
11
Office Version
  1. 365
Platform
  1. MacOS
Hello!

I was wondering if anyone has an existing macro or made one in the past for payroll. I attached a screenshot of what it would look like so you just input the time in and time out for each employee and then it would calculate the time when you hit the calculate button and add the total hours in cell H19.

I'm also having a lot of trouble with the time formatting. Ideally, I'd like to be able to just enter 8 and have it format as 8:00, but every time that i try that it automatically goes to 12 AM because excel thinks I'm entering 8 as the date.

I also need to add in the macro or write a separate macro that could update that pay period every two weeks if possible.

I thought both these things wold be fairly simple, but I've ran into a few issues, if anyone can help I'd appreciate it a lot.

Thanks in advance !
 

Attachments

  • Screen Shot 2023-03-04 at 3.18.42 PM.png
    Screen Shot 2023-03-04 at 3.18.42 PM.png
    58.2 KB · Views: 24

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Attached is a version of the spreadsheet I'm working with this on if that helps or if anyone has any insights on this I'd appreciate it a lot. Thank you!
Payroll Worksheet.xlsm
H
19
Caculator
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,180
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top