Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DAJ DAJ is offline
Junior Member
 
Posts: 1
Default Conditional format combined with functions

I want Excel to prevent me from being able to input a non-working day into a cell OR to be able to place a conditional format on the cell if a non-working day is input.

What I have been able to do is use the WEEKDAY function in the adjacent cell and place a conditonal format on that cell if the nymber is between 6 and 7 however I would prefer the cinditional format to be on the cell where the date is actually input.

Perhaps there is another way other than conditional formats??

Any ideas??
  #2   Report Post  
Ron Coderre
 
Posts: n/a
Default Conditional format combined with functions

Using Cell A1:

DataValidation
Allow: Custom
Formula: =WEEKDAY(A1,2)<6
Done

The =WEEKDAY(A1,2)<6 formula sets the week to start on a Monday.
Consequently, Sat and Sun equate to 6 and 7, respectively.

Does that help?

•••••••••
Regards,
Ron
"DAJ" wrote in message
...

I want Excel to prevent me from being able to input a non-working day
into a cell OR to be able to place a conditional format on the cell if
a non-working day is input.

What I have been able to do is use the WEEKDAY function in the adjacent
cell and place a conditonal format on that cell if the nymber is between
6 and 7 however I would prefer the cinditional format to be on the cell
where the date is actually input.

Perhaps there is another way other than conditional formats??

Any ideas??


--
DAJ



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
Conditional Format Fred Excel Discussion (Misc queries) 1 August 30th 05 08:50 PM
Office2000: Conditional format behaves strangely Arvi Laanemets Excel Discussion (Misc queries) 1 April 7th 05 08:47 AM
conditional format of data tables in charts [email protected] Charts and Charting in Excel 2 January 25th 05 03:56 PM
Conditional format rexmann Excel Discussion (Misc queries) 4 December 2nd 04 12:01 PM
Copying a conditional format Meaux Excel Worksheet Functions 2 November 29th 04 10:19 AM


All times are GMT +1. The time now is 07:28 PM.

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

About Us

"It's about Microsoft Excel"