+ Reply to Thread
Results 1 to 3 of 3

Help on my timesheet

  1. #1
    Registered User
    Join Date
    06-07-2017
    Location
    Kentucky
    MS-Off Ver
    2007
    Posts
    2

    Help on my timesheet

    I've attached a copy of the worksheet in question.

    https://www.excelforum.com/attachmen...1&d=1496895930

    The problem I'm having is this:

    As you can see, cell F10 will total all of the values from cells C8, F8, I8, L8 & O8.

    But I want to limit the value in F10 to 40 hours with any excess over 40 going to cell F11.

    Is there a formula/function that will accomplish this?

    Any help would be greatly appreciated.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help on my timesheet

    This should do it:

    F10: =MIN(40, C8+F8+I8+L8+O8)
    F11: =MAX((C8+F8+I8+L8+O8)-40, 0)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-07-2017
    Location
    Kentucky
    MS-Off Ver
    2007
    Posts
    2

    Re: Help on my timesheet

    Quote Originally Posted by JBeaucaire View Post
    This should do it:

    F10: =MIN(40, C8+F8+I8+L8+O8)
    F11: =MAX((C8+F8+I8+L8+O8)-40, 0)
    Worked perfectly. Just what I was looking for. Many thanks JBeaucaire.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Timesheet
    By Andrei Costan in forum Excel General
    Replies: 4
    Last Post: 03-10-2015, 12:20 PM
  2. Timesheet
    By prchrj in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-30-2014, 06:37 PM
  3. Need help by Timesheet
    By MoFaSa in forum Excel - New Users/Basics
    Replies: 17
    Last Post: 02-19-2014, 07:06 PM
  4. timesheet help please
    By texmd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2012, 02:47 AM
  5. TimeSheet
    By superwiki in forum Excel General
    Replies: 7
    Last Post: 05-27-2009, 12:22 PM
  6. Timesheet
    By Martha in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-19-2008, 10:12 AM
  7. timesheet
    By cheeco in forum Excel General
    Replies: 3
    Last Post: 05-06-2007, 03:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1