Payroll Macro

Status
Not open for further replies.

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

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Cannot manipulate data in a picture. Please upload before and after scenarios using XL2BB.
 
Upvote 0
Duplicate to: Payroll Macros

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread. If you do not receive a response, you can "bump" it by replying to it yourself, though we advise you to wait 24 hours before doing so, and not to bump a thread more than once a day.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,888
Messages
6,175,208
Members
452,618
Latest member
Tam84

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