What formulas should be used?

excel_111

New Member
Joined
Jul 26, 2024
Messages
5
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
Assignment.xlsx

Please help me do this assignment, I am not able to understand what type of formula would be added. I am trying to enter calculations manually but it is taking too long. Please help.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
You could have shortened all that typing to
"Please do my homework for me."
I want to do it on my own but I am not able to figure out formula, if you could help me with that. I would be grateful, thanks
 
Upvote 0
I tried using Index, match, match to try to replicate in every cell but I am not able to figure out calculation along with it.
Manually, I had been using formula as "=(Route!$H5-Route!$E5-(Route!$G5-Route!$F5))*24" for regular work hours and "=+MAX(0,B3-8)" for overtime in every cell by looking up names and copying the values by myself but obviously it is taking too long and I am not even sure if I am doing it right.
 
Upvote 0
I Think you should be looking at SUMPRODUCT() and possibly a MIN(max hours, 8) and then calculating the number of hours over the 8.
 
Upvote 0
How should I use sumproduct when I have to find time difference between punch out and punch in and then subtract meal timings and make sure that the formula is using values as per employee names and adding up in case a particular employee has punched in multiple times during week
 
Upvote 0
Use SUMPRODUCT

where employee in Hours = employee in Route
multiplied by ((meal out - punchout) + (meal in - punch in)) - Note double brackets
where week No, in Route equals last character in Regulars Week No. in Hours spreadsheet, use =RIGHT(B$1,1)

This should give you the maximum hours worked per name.

You just have to check for when it is more than hours. Use MIN(number of hours, 8) to produce number of hours of 8 as a minimum.
You could use MAX(number of hours - 8, 0) to produce the overtime.

I think you're looking at SUMPRODUCT in each of those columns B C D E in the Hours sheet.


I managed to get Total Hours worked per person per week (I think) but havent the time to continue with this.
 
Upvote 0
what should i write for employee in hours = employee in route?
 
Upvote 0

Forum statistics

Threads
1,221,526
Messages
6,160,340
Members
451,637
Latest member
hvp2262

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