Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Karl
 
Posts: n/a
Default Formatting a cell for color that has a formula also

I am using this formula =If ($A$1="","",A1+1) so that when i put a date in it
adds the next date to it. I want to be able to get Saturday and Sunday to
change to a yellow color to note that its a weekend date can this be done? I
can do it manually but would like to be able to do it automatically if
possible. Thanks Karl
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Select your range (all at once)

With A1 the activecell, do:
format|Conditional formatting
formula is: =weekday(a1,2)5
give it a nice format.

I like to give date cells a custom format of:
dddd* mm/dd/yyyy


Karl wrote:

I am using this formula =If ($A$1="","",A1+1) so that when i put a date in it
adds the next date to it. I want to be able to get Saturday and Sunday to
change to a yellow color to note that its a weekend date can this be done? I
can do it manually but would like to be able to do it automatically if
possible. Thanks Karl


--

Dave Peterson
  #3   Report Post  
Karl
 
Posts: n/a
Default

Thanks Dave that works very nicely.

"Dave Peterson" wrote:

Select your range (all at once)

With A1 the activecell, do:
format|Conditional formatting
formula is: =weekday(a1,2)5
give it a nice format.

I like to give date cells a custom format of:
dddd* mm/dd/yyyy


Karl wrote:

I am using this formula =If ($A$1="","",A1+1) so that when i put a date in it
adds the next date to it. I want to be able to get Saturday and Sunday to
change to a yellow color to note that its a weekend date can this be done? I
can do it manually but would like to be able to do it automatically if
possible. Thanks Karl


--

Dave Peterson

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
Using contents of a cell in a formula Mike Excel Discussion (Misc queries) 4 June 9th 05 03:10 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Percent and Rank formula in one cell T.R. Excel Discussion (Misc queries) 1 March 10th 05 04:05 PM
Formatting dates in the future Compass Rose Excel Worksheet Functions 3 January 17th 05 10:39 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 07:45 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"