ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional Format (https://www.excelbanter.com/excel-worksheet-functions/77501-conditional-format.html)

Steph

Conditional Format
 
Can this be done with a conditional format?
Data in columns A thru C. I would like the highlight the cells in column C
where the same data exists in either columns A or B.

For example, Cell C5 has the number 75. If any cell within columns A or B
also have 75, then highlight C5.

Thanks!



SteveG

Conditional Format
 

In the CF change the Cell Value is to Formula Is


=OR(COUNTIF($A$1:$A$100,C5)0,COUNTIF($B$1:$B$100, C5)0)

Select Format, Patterns select your fill color then OK, OK.

-or-

=OR(MATCH(C5,A1:A100,0)0,MATCH(C5,B1:B100,0)0)

Select Format, Patterns select your fill color then OK, OK.

Format down your list.

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=522674


SteveG

Conditional Format
 

In the CF change the Cell Value is to Formula Is


=OR(COUNTIF($A$1:$A$100,C5)0,COUNTIF($B$1:$B$100, C5)0)

Select Format, Patterns select your fill color then OK, OK.

-or-

=OR(MATCH(C5,A1:A100,0)0,MATCH(C5,B1:B100,0)0)

Select Format, Patterns select your fill color then OK, OK.

Format down your list.

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=522674


SteveG

Conditional Format
 

In the CF change the Cell Value is to Formula Is


=OR(COUNTIF($A$1:$A$100,C5)0,COUNTIF($B$1:$B$100, C5)0)

Select Format, Patterns select your fill color then OK, OK.

-or-

=OR(MATCH(C5,A1:A100,0)0,MATCH(C5,B1:B100,0)0)

Select Format, Patterns select your fill color then OK, OK.

Format down your list.

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=522674


SteveG

Conditional Format
 

In the CF change the Cell Value is to Formula Is


=OR(COUNTIF($A$1:$A$100,C5)0,COUNTIF($B$1:$B$100, C5)0)

Select Format, Patterns select your fill color then OK, OK.

-or-

=OR(MATCH(C5,A1:A100,0)0,MATCH(C5,B1:B100,0)0)

Select Format, Patterns select your fill color then OK, OK.

Format down your list.

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=522674


SteveG

Conditional Format
 

Actually, don't use the MATCH as it returns an error when 75 is in one
but not the other and won't fill your cell as desired.

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=522674



All times are GMT +1. The time now is 02:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com