Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...This site is like first coffee in the winter morning..."

Geography

Where in the world do Tek-Tips members come from?
kestrel1 (TechnicalUser)
29 Apr 09 5:16
I can get conditional formatting to work on a cell, but I would like to get a separate cell to be conditioned in the same way even if the cell contents are different to the original cell.
Hope that makes sense.
something like: If Cell A1 = 3 then cell A6 would be conditionally formatted to be grey.
feherke (Programmer)
29 Apr 09 6:02
Hi

Like this ? In my example cells in column B have style Heading if the value in the cell of column A same row is even :

CODE

     |  A  |  B  |
  1       1|x    |
  2       2|  x  |
  3       3|x    |
  4       4|  x  |
  5       5|x    |
To achieve this, I filled the Format | Conditional Fromatting... dialog with this :

[x] Condition 1
Formula is [v] MOD($Sheet1.$A1,2)=0      
    Cell Style Heading    [v]

For cell B1. Then I filled down for the next cells.

Feherke.
http://rootshell.be/~feherke/

kestrel1 (TechnicalUser)
29 Apr 09 6:46
Thanks for the reply. Not been able to get it to work yet. Would you mind posting the file so that I can see how it is done better. I tried the example but still no joy.
Thanks in advance.
feherke (Programmer)
29 Apr 09 7:04
Hi

( Note : files are deleted from SaveFile after 30 day of inactivity. )

Feherke.
http://rootshell.be/~feherke/

kestrel1 (TechnicalUser)
29 Apr 09 13:39
Thanks for that. I can now see what is happening & have got it working. However I have the same question, but I want to be able to use a 1 instead of a 7. When I try that the conditional formatting is applied to all cells that have any number in the previous cell.
So the mod line looks like this:

CODE

MOD($Sheet1.$A2,1)=0
Anyway around this?
Thanks

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close