Formula for Calculating Overtime and Premium Time

JenMcG

New Member
Joined
Dec 2, 2016
Messages
46
Hello,

I'm looking for a formula that will multiply a value based on the time codes of Regular (no multiplier), Overtime (1.5 multiplier) and Premium(2 multiplier).

The download from our accounting software displays as follows:

Type Hours
Regular 0.50
Regular 0.25
Regular 0.50

<colgroup><col><col></colgroup><tbody>
</tbody>

Can an IF statement be developed for this?

Thank you,

Jen
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
What are you multiplying? The number of hours?
Try this (for data found in A2:B10):
Code:
=[COLOR=#0000ff](SUMPRODUCT(--(A2:A10="Regular"),--(B2:B10)))[/COLOR]+[COLOR=#008000](SUMPRODUCT(--(A2:A10="Overtime"),--(B2:B10))*1.5)[/COLOR]+[COLOR=#ff0000](SUMPRODUCT(--(A2:A10="Premium"),--(B2:B10))*2)[/COLOR]
 
Last edited:
Upvote 0
I'm multiplying the value in the hours column by the multiplier based on the pay "type." Example: Pay Type- Overtime, Hours- .50, formula to multiple .50 by 1.5 to return a value of .75.
 
Upvote 0
I'm multiplying the value in the hours column by the multiplier based on the pay "type." Example: Pay Type- Overtime, Hours- .50, formula to multiple .50 by 1.5 to return a value of .75.
OK. The formula I posted should be doing exactly that.
I color-coded the formula so you can see each of the three parts of it.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,175
Members
448,870
Latest member
max_pedreira

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