+ Reply to Thread
Results 1 to 4 of 4

Hours missed gives a score

  1. #1
    Registered User
    Join Date
    05-24-2007
    Posts
    12

    Hours missed gives a score

    Trying to get a result if I missed 0 hours, I will get a score of 5, if I missed 1 -4 hours, I get a score of 4, if I missed 5 hours, I get a score of 3, etc.

    0 Hours Missed 5
    1 - 4 Hours Missed 4
    4 - 8 Hours Missed 3
    8 - 12 Hours Missed 2
    12 -16 Hours Missed 1
    >16 Hours Missed 0

    I have tried a couple of things, but the formulas get way to messy & start to lose cell references.

    Any help appreciated.
    Last edited by gopherc4; 01-21-2009 at 06:23 PM.

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    If the number of hours missed is in A1, here is one option:

    =LOOKUP(A1,{0,1,5,9,13,17},{5,4,3,2,1,0})

    HTH

    Jason

  3. #3
    Registered User
    Join Date
    05-24-2007
    Posts
    12
    Thanks works fine

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Glad it helped. Please mark the thread solved. Thanks.

    Jason

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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