Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steph
 
Posts: n/a
Default 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!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default 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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default 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

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
Data Validation or Conditional Format (or combo of) Scott Excel Worksheet Functions 3 November 3rd 05 03:57 PM
Conditional format numbers PiPPo Excel Worksheet Functions 5 October 18th 05 05:03 AM
Cell Format Changes When Data Is Entered - Not Conditional Formatt SundanceKidLudwig Excel Worksheet Functions 2 September 30th 05 02:07 PM
Conditional format of minimum number MaggieMagill Excel Worksheet Functions 6 September 25th 05 11:36 PM
Conditional Format Question DougS Excel Worksheet Functions 3 May 3rd 05 01:36 AM


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