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:

[TABLE="width: 117"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD] Type [/TD]
[TD] Hours [/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Regular [/TD]
[TD]0.50[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Regular [/TD]
[TD]0.25[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Regular [/TD]
[TD]0.50[/TD]
[/TR]
</tbody>[/TABLE]

Can an IF statement be developed for this?

Thank you,

Jen
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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