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: 23

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,157
Messages
6,170,419
Members
452,325
Latest member
BlahQz

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