SUMIF or maybe SUMPRODUCT

Jamma

New Member
Joined
Sep 19, 2018
Messages
6
Hi all,

I have an overtime spreadsheet that calculates the cost and productivity of the overtime hours per salesperson, per month.

Up until now the overtime rate has been 1.5 which was easy to calculate using SUMIF using month and then the ‘hours worked’ column to calculate.

I use this formula on a summary page to cross charge to another business area.

Now there are contracts with some overtime at 2. and I don’t want to add another collumn, I want to simply add ‘double’ to the drop down list in the ‘overtime rate’ column.

My question is: what function would I use to differentiate between 1.5 and 2. on a month by month basis? ie “January”, “double” = 4 hours.

Then if I could take that further and add names to the formula rather than having to filter the data entry sheet.

I hope this make sense - I’m fairly new to excel and I’d imagine this is probably quite simple but every tutorial I’ve looked at shows how to sum the two criteria but I want to sum the data that relates to the data within two/three other columns.

Thank you in advance
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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