Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional Formatting question in Excel 2

Status
Not open for further replies.

Kenja824

Automotive
Joined
Nov 5, 2014
Messages
958
Location
US
Lets say in cell A1 I have =TODAY() to show the current date.
Down column B I have a bunch of dates like a calendar strung out in one column.
Down column C I have the days of the week.

I can get the formatting so that in Column B, whichever date matches today's date, that cell will fill in blue.

However, I would like to conditional format column C so that the day of the week next to the blue cell in Column B will also fill in blue.

Is it possible to get a cell to format based on if a different cell matches an entirely different cell?

Example.... If "B7" = "A1", then "C7" will fill in blue.
 
HI,

Select ALL the DATA in columns B & C.

Open CF > New rule > Use a formula...

...and enter the formula...
[tt]
=$B1=$A$1
[/tt]

Hit the Format... Button

Select the Fill TAB and select the appropriate color.

Skip,

[glasses]Just traded in my OLD subtlety...
for a NUance![tongue]
 
Thanks SkipVought

Not only did it work, but it actually made some sense as to how it works.

Funny how conditional formatting formulas are done different than regular formulas in cells and they are the same program. lol
 
You just need an expression return TRUE or FALSE.

Skip,

[glasses]Just traded in my OLD subtlety...
for a NUance![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top