Formula for Charged Time

L

Legacy 436357

Guest
Hello,

Does anyone know of a formula that will total up the Task Times in column I for the day of the week and put in column L?

Thank you

Excel Workbook
ABCDEFGHIJKL
3Task #DateDay of WeekAFR NumberShop OrderOtherStart TimeEnd TimeTask TimeDay of WeekCharged Time
417/5/2019Friday865968:00 AM10:00 AM2:00Monday
52 W203:00110:00 AM Tuesday
63  Wednesday
74  Thursday
85  Friday
Week 27
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
As Column I contains text array formula can be used


Book1
ABCDEFGHIJKL
1#DateDay of WeekAFR NumberShop OrderOtherStart TimeEnd TimeTask TimeDay of WeekCharged Time
217/5/2019Friday865968:00 AM10:00 AM2:00Monday0:00
32W203:00110:00 AMTuesday0:00
43Wednesday0:00
54Thursday0:00
65Friday2:00
Sheet2
Cell Formulas
RangeFormula
L2{=SUM(IF($C$2:$C$6=$K2,$I$2:$I$6*1))}
Press CTRL+SHIFT+ENTER to enter array formulas.


Easier would be Change Column I to =IF('Week 27'!$H8<>"",H8-G8,"") and change the number format to h:mm and use SUMIF (=SUMIF($C$2:$C$6,$K2,$I$2:$I$6))
 
Upvote 0
Thank you I adjusted the ranges on the array formula.

For Friday the task time so far is 2 hours. The formula yields 0.08 why?

I forgot to format to h:mm

Thanks for the help
 
Last edited by a moderator:
Upvote 0
I noticed if I start a new task and have the date entered but no End Time the formula yields #VALUE ! error.
 
Upvote 0
See if this works:


Book1
ABCDEFGHIJKL
1#DateDay of WeekAFR NumberShop OrderOtherStart TimeEnd TimeTask TimeDay of WeekCharged Time
217/5/2019Friday865968:00 AM10:00 AM2:00Monday0:00
327/4/2019ThursdayW203:00110:00 AMTuesday0:00
437/4/2019Thursday10:00 AM12:00 PM2:00Wednesday0:00
54Thursday2:00
65Friday2:00
Sheet2
Cell Formulas
RangeFormula
L2{=SUM(IF(($H$2:$H$6<>"")*($C$2:$C$6=$K2),$I$2:$I$6*1))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,989
Members
452,541
Latest member
haasro02

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