Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jbsand1001
 
Posts: n/a
Default conditional formatting adjacent cells

I am looking for a formula that will look at the cell directly above it and
if it equals a certain value then it would add a conditional value. For
example:

Cell A1= Sat B1=Sun C1=Mon. ......G1=Fri
A2=1 B2=2 C2=3....... G2=5



I want this to shade Gray for Saturday and Sunday on a monthly basis. Where
A2 and B2 would be shaded Gray.


Thank You,
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Use a formula of =OR(A1="Saturday",A1="Sunday"), and copy across

--

HTH

RP
(remove nothere from the email address if mailing direct)


"jbsand1001" wrote in message
...
I am looking for a formula that will look at the cell directly above it

and
if it equals a certain value then it would add a conditional value. For
example:

Cell A1= Sat B1=Sun C1=Mon. ......G1=Fri
A2=1 B2=2 C2=3....... G2=5



I want this to shade Gray for Saturday and Sunday on a monthly basis.

Where
A2 and B2 would be shaded Gray.


Thank You,



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Use formula is

=OR(A1="Sat",A1="Sun")

assuming that they are not ddd formatted dates, if so use

=WEEKDAY(A15)


Regards,


Peo Sjoblom

"jbsand1001" wrote:

I am looking for a formula that will look at the cell directly above it and
if it equals a certain value then it would add a conditional value. For
example:

Cell A1= Sat B1=Sun C1=Mon. ......G1=Fri
A2=1 B2=2 C2=3....... G2=5



I want this to shade Gray for Saturday and Sunday on a monthly basis. Where
A2 and B2 would be shaded Gray.


Thank You,

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
How to do a conditional formatting based on an adjacent cell Confused Excel Discussion (Misc queries) 2 January 10th 05 09:55 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
Print cells that meet conditional formatting criteria Roundy Excel Discussion (Misc queries) 1 December 14th 04 12:13 AM
bolding cells in conditional formatting Katherine Excel Worksheet Functions 1 December 7th 04 07:57 PM


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