Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default If/Then functions in Excel

Regular hours
=MIN(SUM(C1:C5),40)

Overtime hours
=MAX(SUM(C1:C5)-40,0)

Adjust to suit


"Sean" wrote:

I am trying to write a spreadsheet for tracking man-hours worked over a pay
period.

What I want to do is sum the fields for the first week, and if the total is
greater than 40, convert the remaider greater than 40 to a value in another
field. Also, a pay period is 2 weeks, so I want to apply the function to
each week seperately, but then sum the total regular hours and overtime hours
individually. The regular hours block for a given pay period should be no
more than 80, but the OT could be more. Also, because of some of the odd
shifts that our production personnel work, it is completely possible that an
individual can be earning overtime in less than 4 work days.

If anyone can help me with this, I would be most appreciative.

Thanks.

Sean

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
User-defined functions created in Excel 2000 fail in Excel 2003 goodguy Excel Discussion (Misc queries) 1 October 3rd 05 07:04 PM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM
How do I set up IRR and NPV functions in Excel? John Rovenolt Excel Worksheet Functions 2 March 25th 05 01:44 AM


All times are GMT +1. The time now is 03:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"