Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
aware
 
Posts: n/a
Default Conditional formatting

How can I Conditional format cells with a formula in them instead of a value.
I am using the Mid function to extract a text string to a column, then I
want to use Conditional formatting to highlight the cells that matches any
cell in another range of cells. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default Conditional formatting


In the cell you are trying to CF, use the Formula Is option for entering
your CF. I started in cell A1 where I have my MID statement to pull
from text in another cell. I1:I5 is the range of values I am looking
for to base my CF on. If the value in A1 is found in I1:K6 then the
formatting occurs.

Condition 1

Formula is:

=A1=INDEX($I$1:$I$5,MATCH(A1,$I$1:$I$5,0))

Select the format you want. Use the format painter to copy this down
your column. Make sure the A1 is not an absolute reference before
doing that or the format will always look at A1 and not the rest of
your column.

HTH

Steve


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

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
Conditional Formatting when inserting a row zahoulik Excel Worksheet Functions 2 January 7th 06 03:01 PM
Conditional Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 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


All times are GMT +1. The time now is 02:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"