total man hour in a month

Laxieryuah

New Member
Joined
Oct 31, 2017
Messages
11
plese help me to solve this.
NAME :Bilal MONTH:Oct-17
DESIGNATION :General Helper WEEK NO:WEEK 40/ 41 / 42 /43
NODATETIME-INLUNCH-INLUNCH-OUTTIME-OUTT.W.H
11-Oct-20176:55 AM12:30 PM1:30 PM4:00 PM8:05
22-Oct-20176:45 AM12:30 PM1:30 PM4:00 PM8:15
33-Oct-20176:45 AM12:30 PM1:30 PM4:00 PM8:15
44-Oct-20177:00 AM12:30 PM1:30 PM4:00 PM8:00
55-Oct-20176:52 AM12:30 PM1:30 PM3:50 PM7:58

<colgroup><col><col><col span="2"><col><col span="2"><col></colgroup><tbody>
</tbody>

I want to add T.W.H mean total man hrs.supposedly this data until Oct 31.
so i used formula of =IF(I9=16,"",IF(I9>7,"U","8"))*1 to get the total man hrs per day
but it keep on showing " #value !. on the other hand on day 1 & 2 the formula are working but
on the suceeding date it show the error.
 
i cannot edit the formula it keep on breaking.
here the formula what i mention.
=SUM(IF(E13<D13,E13+1,E13)-D13,IF(H13<F13,H13+1,H13)-F13)
 
Upvote 0

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
=SUM(IF(E11 < D11,E11+1,E11)-D11,IF(H11 < F11,H11+1,H11)-F11) here's the formula i'm using to get the TWH per day.
please refer below given time.
Oct 1 8:15 = 8:00

Oct 2 7:50 = 8:00
oct 3 absent= 23:00
so anyone can give better formula to get the exact value im looking for, and for the final result every end of the month
i want to get the total hours w/o the adding those value of 23:00, what the formula do i need to be use.
 
Upvote 0
count the working hours if they are less than 23:00, sum them if they are less than 23:00 - will post a simple example in an hour or so......
 
Upvote 0
=SUM(IF(E11 < D11,E11+1,E11)-D11,IF(H11 < F11,H11+1,H11)-F11) This is the formula im using to get total working hour per day
so if use this formula it gives me an answer of :
Oct 1 8:15 = but i want to be result like this " 8:00"
Oct 2 7:50 = but i want to be result like this " 8:00 "
oct 3 absent= 23:00

and when im trying to get the final total working hour per month
this is the formula im using :
=SUMIF(I50:I79," < 23")*24
but it give me a result of: "39.08" anyone can revised my error in this formula.
i want to make total hours without the value of 23:00,
and make everyday working hour will be fix in 8 hrs.
 
Upvote 0
DATEnameTIME-INLUNCH-INLUNCH-OUTTIME-OUTT.W.H23:0008:00
01-Oct-17tom6:55 AM12:30 PM1:30 PM4:00 PM08:00#####
01-Oct-17fred6:45 AM12:30 PM1:30 PM4:00 PM08:00M1 and N1 are the reference times
01-Oct-17bill23:00
02-Oct-17tom7:00 AM12:30 PM1:30 PM4:00 PM08:00
02-Oct-17fred6:52 AM12:30 PM1:30 PM3:50 PM08:00
02-Oct-17bill6:55 AM12:30 PM1:30 PM4:00 PM08:00
03-Oct-17tom6:45 AM12:30 PM1:30 PM4:00 PM08:00
03-Oct-17fred6:55 AM1:30 PM2:30 PM4:10 PM08:00
03-Oct-17bill7:00 AM12:30 PM1:30 PM4:00 PM08:00
04-Oct-17tom6:52 AM12:30 PM1:30 PM3:50 PM08:00
04-Oct-17fred6:55 AM12:30 PM1:30 PM4:00 PM08:00
04-Oct-17bill6:45 AM12:30 PM1:30 PM4:00 PM08:00
05-Oct-17tom7:00 AM12:30 PM1:30 PM4:00 PM08:00
05-Oct-17fred7:00 AM12:30 PM1:30 PM4:00 PM08:00
05-Oct-17bill6:52 AM12:30 PM1:30 PM3:50 PM08:00
#####
=IF(AND(C2="",D2="",E2="",F2=""),$M$1,$N$1)
so however many hours a person works they are only credited with 8 hours ???
tom40##########
fred40
bill32
##########
=SUMPRODUCT(($B$2:$B$16=C26)*($G$2:$G$16<>$M$1))*8

<colgroup><col span="4"><col><col><col><col><col><col><col><col><col span="5"></colgroup><tbody>
</tbody>
 
Upvote 0
WOWOWOOOW this the answer i'm looking for many thanks sir.
you save me from this. yes even they work more than 8 hrs it will count only
for 8 hrs.
again many thanks to you.
 
Upvote 0

Forum statistics

Threads
1,216,085
Messages
6,128,733
Members
449,465
Latest member
TAKLAM

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