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

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,223,888
Messages
6,175,217
Members
452,619
Latest member
Shiv1198

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