Thread
:
Formula for a time sheet
View Single Post
#
1
Posted to microsoft.public.excel.misc
Sandy Mann
external usenet poster
Posts: 2,345
Formula for a time sheet
Lee,
For a Maximum of 40 try:
=MIN(40,SUM(B2:B8))
for the Overtime try:
=MAX(SUM(B2:B8)-40,0)
--
HTH
Sandy
In Perth, the ancient capital of Scotland
with @tiscali.co.uk
"Lee" wrote in message
...
I want to make the cell show the sum of a group of cells but stop at 40.
For
example, a row of 7 cells labeled Mon thru Sun. A seperate cell is
progammed
to shw the sum of those cells however I want the max to be 40 and anything
over 40 be deverted to seperate cell marked for overtime.
--
Lee Davenport
Reply With Quote
Sandy Mann
View Public Profile
Find all posts by Sandy Mann