Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Mike Ellis
 
Posts: n/a
Default Staff rota, how can I make a letter represent a shift?

I am trying to set up a staff rota in Excel 2003. Can I enter letters to
represent not only the shifts but also the hours of the shift e.g. E = Early
shift, 8 hours,L=Late shift,7.5 hrs,X=day off, that can then be added
together with other shifts to check total hours worked?e.g
would return total..
M T W Th F S Total
VM L E L E E X 39
NJ E L E L E X 39
BH L L E L E X 38.5
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default Staff rota, how can I make a letter represent a shift?

Sure. You can calculate the total hours along the lines of
=7.5*(countif(b2:b7,"E")+countif(b2:b7,"L")). I'd suggest using data
validation on each cell with the letters to ensure that the letter entered
corresponds with a letter recognized in the calculation.
--Bruce

"Mike Ellis" wrote:

I am trying to set up a staff rota in Excel 2003. Can I enter letters to
represent not only the shifts but also the hours of the shift e.g. E = Early
shift, 8 hours,L=Late shift,7.5 hrs,X=day off, that can then be added
together with other shifts to check total hours worked?e.g
would return total..
M T W Th F S Total
VM L E L E E X 39
NJ E L E L E X 39
BH L L E L E X 38.5
Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Mike Ellis
 
Posts: n/a
Default Staff rota, how can I make a letter represent a shift?

Many thanks for your help Bruce. One further question, being a novice with
Excel-since the shift hours vary (e.g. E=7.5, L=8, "F(lexi)" =5 etc),where do
I place the sums corresponding to the other shifts?
Mike.

"bpeltzer" wrote:

Sure. You can calculate the total hours along the lines of
=7.5*(countif(b2:b7,"E")+countif(b2:b7,"L")). I'd suggest using data
validation on each cell with the letters to ensure that the letter entered
corresponds with a letter recognized in the calculation.
--Bruce

"Mike Ellis" wrote:

I am trying to set up a staff rota in Excel 2003. Can I enter letters to
represent not only the shifts but also the hours of the shift e.g. E = Early
shift, 8 hours,L=Late shift,7.5 hrs,X=day off, that can then be added
together with other shifts to check total hours worked?e.g
would return total..
M T W Th F S Total
VM L E L E E X 39
NJ E L E L E X 39
BH L L E L E X 38.5
Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Mike Ellis
 
Posts: n/a
Default Staff rota, how can I make a letter represent a shift?

Bruce -please ignore my last reply -I think I've got it, thanks to you.
=8*(COUNTIF(B97:H97,"E"))+7.5*(COUNTIF(B97:H97,"L" )) seems to work, &
presumably I can just keep adding for each shift variation.

"bpeltzer" wrote:

Sure. You can calculate the total hours along the lines of
=7.5*(countif(b2:b7,"E")+countif(b2:b7,"L")). I'd suggest using data
validation on each cell with the letters to ensure that the letter entered
corresponds with a letter recognized in the calculation.
--Bruce

"Mike Ellis" wrote:

I am trying to set up a staff rota in Excel 2003. Can I enter letters to
represent not only the shifts but also the hours of the shift e.g. E = Early
shift, 8 hours,L=Late shift,7.5 hrs,X=day off, that can then be added
together with other shifts to check total hours worked?e.g
would return total..
M T W Th F S Total
VM L E L E E X 39
NJ E L E L E X 39
BH L L E L E X 38.5
Thanks.

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
make a letter in a cell automatically equal a dollar amount kimzim Excel Discussion (Misc queries) 1 August 17th 05 08:26 PM
What function can make cells shift up when they are blank? Julie Excel Worksheet Functions 0 March 26th 05 07:31 PM
Excel: How do I type a letter in a column and make a check mark a. BauerY Excel Worksheet Functions 3 March 24th 05 06:34 PM
How can I make cell data automatically shift up when deleting Orangepegs Excel Discussion (Misc queries) 4 February 26th 05 11:11 PM
How can I make cell data automatically shift up when deleting... Orangepegs Excel Worksheet Functions 1 February 26th 05 04:17 AM


All times are GMT +1. The time now is 01:27 PM.

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

About Us

"It's about Microsoft Excel"