Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2014, 01:23 AM
perZZon perZZon is offline Maximum number of working days reached=  warning color Windows 7 64bit Maximum number of working days reached=  warning color Office 2013
Novice
Maximum number of working days reached=  warning color
 
Join Date: May 2014
Location: Sweden
Posts: 1
perZZon is on a distinguished road
Red face Maximum number of working days reached= warning color

Hi all!



Im trying to create a warning function in a simple scheduling sheet I made for staffing planning.

The sheet containts a two-week schedule. If a particular day contains time, then it gets the value "1", if no time "0".

What I want to do is to make Excel react if the two-week schedule contains more than 6 days in row, in any given combination (for example week 1 maybe only have 2 work days, saturday and sunday, but then week 2 continues with +5 work days). So one of the obstacles is the 2-week loop.

My goal is that IF the two-week schedule contains more days in a row than allowed, the affected days should turn yellow by conditional formatting.
I consider myself pretty good at Excel but this one keeps me sleepless

kind regards
Joakim
Reply With Quote
  #2  
Old 05-09-2014, 03:01 PM
BobBridges's Avatar
BobBridges BobBridges is offline Maximum number of working days reached=  warning color Windows 7 64bit Maximum number of working days reached=  warning color Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

How's the worksheet arranged, perZZon? It's not a VBA solution, but I think I can see a way to do it. You may have to adapt it, though, depending on how your dates are arranged. See the attached example.
Attached Files
File Type: xlsx x.xlsx (10.7 KB, 12 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum number of working days reached=  warning color How do I get auto-updated "number of days since specified date" on MS word? terry795 Word 16 01-07-2016 04:33 PM
Maximum Number Of Styles-Based-On? Pluviophile Word 13 05-08-2014 05:29 AM
Maximum number of working days reached=  warning color Converting serial number to years, months and days hannu Excel 6 02-14-2013 09:21 PM
Master Projects with different Working Days Philip.Skeet Project 2 08-19-2011 09:45 AM
Maximum number of working days reached=  warning color Non-Working Days on Gantt JayTT Project 1 01-28-2011 05:42 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft