Excel Timesheet minimum hours

KORKNEY

New Member
Joined
Jul 31, 2018
Messages
2
Hi,

Sorry bit of a newbie here!! I am making up a new timesheet for one of the departments in my company. Employees in this department get a guranteed payment of 6 hours per day, even if they dont work 6 hours that day so i have used the formula =IF(B3<6,6,B3)+IF(C3<6,6,C3)+IF(D3<6,6,D3)+IF(E3<6,6,E3)+IF(F3<6,6,F3) to calculate the minimum hours for the week. However if one of the total hours worked colums are blank if an employee hasnt been at work that day i don't want to count any hours for that day, please can you advise how i would do this? Many Thanks :)
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
This entered CTRL-SHIFT-ENTER not just ENTER should work. It WILL get the wrong answer if not entered correctly:

=SUM(IF(B3:F3<>"",IF(B3:F3>6,B3:F3,6)))
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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