Need help writing a formula!

Tina Marie

New Member
Joined
Mar 16, 2004
Messages
1
:rolleyes:

I have a workbook that tracks my employees time.

I need to be able to figure out how many hours to pay at regular rate, vacation rate, holiday rate and overtime. Vacation/Holiday time is not counted towards overtime.

Example. Col A = total number hours worked
Col B = total number regular (straight) time
Col C = total number vacation hours
Col D = total number holiday hours
Col E = total number overtime hours

I know there are a variety of ways to make the initial entry in Col A (include or not include vacation/holiday hours), how I do it is not as relevant as getting it done!

I welcome any assistance on this!
 

Some videos you may like

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
hi - welcome to the board!

not clear what your problem is - to me at least.

what do you need to do? my guess - fill in the other columns given some info in col A - in which case we need to know what sort of data is in col A, how ovrtime etc is identified...

lots more info please...
 

DRJ

MrExcel MVP
Joined
Feb 17, 2002
Messages
3,853
Hi - welcome to the board

ok so you input A B and D right? And A in actual hours worked so it doesn't count vacation?

Then B1 is

=min(A1 - D1,40)

And E1 is

=if(B1 > 40 , B1 - 40, 0)
 

Watch MrExcel Video

Forum statistics

Threads
1,122,511
Messages
5,596,576
Members
414,079
Latest member
Frills

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
Top