LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel
external usenet poster
 
Posts: 1,069
Default Highlighting fields based on a dropdown in Excel 2003

Thanks, Roger. Actually, that was the OP's formula, not mine. When I tried
your corrected formula (Excel 2003), it didn't work. This version seems to
work reliably for me:

=OR(IF(ISERROR(FIND($A$1,A1)),0,FIND($A$1,A1))0,I F(ISERROR(FIND("*",A1)),0,FIND("*",A1))0)

Hutch

"Roger Govier" wrote:

Hi Tom


Because the "*" is a wildcard, if you want to search for the "*" itself, you
need to prefix it with the tilde "~"
You also have the syntax for the OR function incorrect.
=OR(FIND($A$1,A1)0,FIND("~*",A1)0)

--
Regards
Roger Govier

"Calab" wrote in message
...

"Tom Hutchins" wrote in message
...
Assuming your dropdown list is in cell A1:
- select all cells
- select Conditional Formatting from the Format menu
- change 'Cell Value Is' to 'Formula Is'
- in the text box enter =(FIND($A$1,A1))0
- click the Format button
- select the options you want to highlight the cells
- click OK until all the dialogs are closed

If your dropdown list is in a different cell, change $A$1 to that cell
(keep
the dollar signs so it remains an absolute reference).


That works great... but I just discovered one more thing we need that I
can't figure out... I also need to check for a literal value as well.

=(FIND($A$1,A1))0 OR (FIND("*",A1))0

Which doesn't work.

: (




 
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
Auto Populate fields based upon dropdown selection Del Excel Discussion (Misc queries) 4 September 14th 09 09:43 PM
Highlighting certain fields KNL Excel Worksheet Functions 2 October 17th 08 07:17 PM
populating a dropdown based on choice from a previous dropdown Conor[_3_] Excel Programming 2 March 9th 06 07:15 PM
highlighting required fields maryann Excel Worksheet Functions 2 June 23rd 05 06:16 PM
Number of dropdown fields in Excel is limited. I need more. How? UweVahrson Excel Discussion (Misc queries) 7 March 28th 05 05:10 PM


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