Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Shift schedule conditional formatting

I am trying to make a worksheet that lays out the shift plans for all 3 shifts. We have several processes and we know how long each step takes in the process. So I built a work sheet that calculates the time of each step based on the start time. I formatted the column into military time. I want to do conditional formatting to color the cell based on what shift the step would fall on.

1st =and(celltime(0,6,0),cell<(14,0,0))
2nd =and(celltime(0,14,0),cell<(22,0,0))
3rd =and(celltime(0,22,0),cell<(24,0,0))
3rd =and(celltime(0,0,0),cell<(6,0,0))

Everything works fine except I can not get the midnight-6am conditional to format to work. I have even tried 1am-6am with no luck. I am sure it is some silly error, but I can't seem to figure it out.

Essentially I want
1st 6am-2pm = yellow
2nd 2:01pm-10pm = orange
3rd 10:01pm-6am = blue
And then for no color to appear at all when the cell is blank

Any help would be appreciated. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Shift schedule conditional formatting

Hi John,

Am Fri, 5 Jun 2015 08:48:48 -0700 (PDT) schrieb John Petty:

Essentially I want
1st 6am-2pm = yellow
2nd 2:01pm-10pm = orange
3rd 10:01pm-6am = blue
And then for no color to appear at all when the cell is blank


have a look:
https://onedrive.live.com/redir?resi...=folder%2cxlsm
for workbook "Time"
But what if working time is e.g. 11:00-16:00
or 2:00-4:00?


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
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
Shift Schedule Formula Dan Excel Discussion (Misc queries) 1 January 14th 10 04:50 AM
Shift Schedule Spreadsheet mrac915 Excel Discussion (Misc queries) 0 November 26th 06 09:32 PM
Employees shift schedule rossi Excel Discussion (Misc queries) 1 June 5th 06 12:08 AM
Conditional Formatting a Schedule Bob Wall Excel Worksheet Functions 1 June 9th 05 02:45 PM
Excel schedule chart - 'reverse' conditional formatting radillac Excel Programming 3 March 18th 05 09:57 PM


All times are GMT +1. The time now is 06:55 AM.

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"