+ Reply to Thread
Results 1 to 7 of 7

Staffing Rota Trouble - converting letters into a numerical value to be added for a total

  1. #1
    Registered User
    Join Date
    03-29-2013
    Location
    west yorkshire
    MS-Off Ver
    Excel 2007
    Posts
    5

    Staffing Rota Trouble - converting letters into a numerical value to be added for a total

    hi there i was woundering if anyone could help me, I am designing a staffing rota and have a litle problem. Shifts are based on letters not numbers so when inputting the shifts into the rota table i am wanting this to then be reflected as a number total in my total hours for month collum. so when i type in a letter or letters to represent a shift i am wanting the hours of shifts to be added up in the totals collum. I have only be able to do so for one shift in one cell, i am struggling to relate the process for a selection of letters and the total numbers of days. I was hoping someone would be able to help me.
    Each day there are a number of different letter coded shifts on so a variety of options / calculations / hours have to be available i.e M shift is 14 hours, H shift is 7 hours and a WN shift is 10.5 and so on. I am wanting the rota to look as folows and work out as follows;

    Days > 1 2 3 4 5 6 7 8 9 10 ...... Total Hours
    Jake M H WN WN WN H 44
    Pete H C M M H M 37
    Sarah C C C WN WN WN C H 40
    Lucha

    If anyone would be able to help i would be greatful as i am currently just staring at a blank screen and am going crazy cheers.

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Staffing Rota Trouble - converting letters into a numerical value to be added for a to

    What is the value for each letter ?
    I would suggest using a lookup type of function to return values that you can sum

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Staffing Rota Trouble - converting letters into a numerical value to be added for a to

    Hi -

    Try the attached spreadsheet. I just had to guess at some of your values.

    Hope this helps.

  4. #4
    Registered User
    Join Date
    03-29-2013
    Location
    west yorkshire
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Staffing Rota Trouble - converting letters into a numerical value to be added for a to

    values are
    RM = 14.5
    M = 14
    A = 13
    C = 12
    H = 7
    WN = 10.5

  5. #5
    Registered User
    Join Date
    03-29-2013
    Location
    west yorkshire
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Staffing Rota Trouble - converting letters into a numerical value to be added for a to

    thankyou Login thats perfect after seeing that becomes obvouse tahnkyou greatly just to ammend the hours worked but its great Thankyou hopefully even though late i can kick on witht he design now

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Staffing Rota Trouble - converting letters into a numerical value to be added for a to

    you could use a vlookup via reference table

    so on a separate sheet you could put
    column
    0 > 0
    A > B
    M > 14
    H > 7
    WN > 10.5

    then use
    =vlookup()

    =VLOOKUP(C3,Sheet2!$A$2:$B$20,2,FALSE)+VLOOKUP(D3,Sheet2!$A$2:$B$20,2,FALSE)+VLOOKUP(E3,Sheet2!$A$2:$B$20,2,FALSE)+VLOOKUP(F3,Sheet2!$A$2:$B$20,2,FALSE)+VLOOKUP(G3,Sheet2!$A$2:$B$20,2,FALSE)+VLOOKUP(H3,Sheet2!$A$2:$B$20,2,FALSE)+VLOOKUP(I3,Sheet2!$A$2:$B$20,2,FALSE)+VLOOKUP(J3,Sheet2!$A$2:$B$20,2,FALSE)+VLOOKUP(K3,Sheet2!$A$2:$B$20,2,FALSE)+VLOOKUP(L3,Sheet2!$A$2:$B$20,2,FALSE)

    see attached
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Staffing Rota Trouble - converting letters into a numerical value to be added for a to

    No problem B1 - If your problem is solved, please mark this thread as SOLVED using the Thread Tools immediately above and to the right of your first post.

+ 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