staff timesheet

estelle

New Member
Joined
Jun 12, 2018
Messages
10
Hi. I am designing a new staff rota and need to calculate hours and minutes from a selection of dates for the whole year. When I use the formula =SUMIF(F3:F563,">0")/60 this does exactly what want for the whole but I cannot work out how to show a subtotal when I filter the list to show a range of dates from the full list still shows the total hours and parts thereof.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
you can try the subtotal() with function 109, sum to ignore hidden cells, i.e.

=subtotal(109,F3:F563)/60
 
Last edited:
Upvote 0
Tried this again and although it works beautifully is there any way to get it to ignore any cells which include text as well as blanks. There is a dropdown in each cell where you can either pull off times or text items so I need it to not try to add the text. What I am getting is #VALUE !
 
Upvote 0
try this instead

=AGGREGATE(9,3,F3:F563)/60
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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