+ Reply to Thread
Results 1 to 9 of 9

Value and Codes

  1. #1
    Registered User
    Join Date
    12-13-2008
    Location
    Florida
    Posts
    4

    Value and Codes

    I want to assign certin values to codes, such as:

    1 has a value of 8 or

    the color blue has the value of 8

    Is this possible. I am writing a simple work schedule and would like to be able to track total time and over time of my staff. Example below. 1 have a value of 8 hours worked, D has a value of 0 hours worked.

    Thanks for the help
    LMP

    DATE: JAN 1 2 3 4
    NAME TH F SA SU

    Joe (ft) 1 1 D D
    Gene (ft) D 1 1 1

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi and welcome to the board
    Maybe conditional formatting is what you are looking for?

  3. #3
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Version?

    Excel 2003 or Excel 2007?

  4. #4
    Registered User
    Join Date
    12-13-2008
    Location
    Florida
    Posts
    4
    Quote Originally Posted by mewingkitty View Post
    Excel 2003 or Excel 2007?
    Sorry 2007

  5. #5
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    lookup functions

    Check out the attached worksheet.
    You'd only be entering info in the shaded area.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-13-2008
    Location
    Florida
    Posts
    4
    Here is the actual templet with break down page. 1 = the first 8 hour shift, 2 = the second shifts 8 hours, third = the third shigts 8 hours, D = day off.
    I'm trying to assign values to these shifts:
    1= 8 hours
    2= 8 hours
    3= 8hours
    D= 0hours
    Attached Files Attached Files

  7. #7
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Another question

    so do you want readouts on another sheet listing the 8 or 0 which corresponds to your 1, 2, 3, d..? and what do you want done with your other letter thingies, 2IN, PL, and PHD.?

    Oh, and what is your week breakdown, you have 31 days of data, that's not four weeks, just wondering what you want referenced as week 1, week 2, etc. I'm assuming that you want the overtime to be everything over the hours listed next to their names on the "Breakdown" sheet.

    On a side note about the OT, I'm guessing that 80 is bi-weekly hours...? I know there's people who work 80 hours in a week, but it's highly unusual.

    Edit:
    Uploaded template with guesses at what you want.
    -You'll have to expand the named list which references hours to define the PHD and 2IN etc., it's on the third sheet, "Sheet 1". Currently those entries are treated as 0.
    -Added a row for total regular hours, it's may not be necessary, but was helpful to check calculations, so I left it in.
    -Overtime is based on going over 40/week for FT employees, 20/week for PT employees.
    -Weeks are calculated from Sunday to Saturday, there are 4.5 weeks worth of data, wasn't sure how to approach that.
    -The cake is a lie.

    mew!
    Attached Files Attached Files
    Last edited by mewingkitty; 12-13-2008 at 04:29 PM. Reason: Flour.

  8. #8
    Registered User
    Join Date
    12-13-2008
    Location
    Florida
    Posts
    4
    mewingkitty: Thank you for the help! If I wanted to set my target overtime at 30 could I edit this formula to read this?
    =SUM(IF(C8>30,C8-30,0),IF(D8>30,D8-30,0),IF(E8>30,E8-30,0),IF(F8>30,F8-30,0))

    Also how do I go about adding to the reference list? I would like to add in the values for the 1IN,2IN,3IN which will all have values of 4? Could you also explain to me the function of the 3rd sheet? Is this a table of reference for the others?
    Lastly, when I go and complete other months what formulas will I have to manipulate to preserve the integrity of the overall workbook.

    Thanks again for the help!
    LMP
    Last edited by LawrenceP; 12-14-2008 at 10:26 AM.

  9. #9
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Gimme a minute

    I'll re-post the worksheet with details on how each part of it works, be up here in a couple of minutes, I'll add it as an edit to this post.

    Edit:
    Uploaded chart with values changed as requested, and explanation of each part. Just gimme a shout if you have any other questions.

    mew!
    Attached Files Attached Files
    Last edited by mewingkitty; 12-14-2008 at 06:41 PM.

+ 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