Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Conditional Formatting Using VB
I need to check the value of a cell against another
worksheet. If a matching value exists in both sheets then I apply the new format (I would use a vlookup functionality as the sheet I am comparing to has the data in a single column). If a match does not exist, then I leave the format the same. I could not achieve this using the conditional formatting. Any ideas would be greatly appreciated. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Conditional Formatting Using VB
Bill,
Select the cells on sheet one, and apply conditional formatting with a formula of =NOT(ISNA(MATCH(A1,myRange,0))) where myRange is a range name for the cells on the other sheet. Format to suit. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Bill Phillips" wrote in message ... I need to check the value of a cell against another worksheet. If a matching value exists in both sheets then I apply the new format (I would use a vlookup functionality as the sheet I am comparing to has the data in a single column). If a match does not exist, then I leave the format the same. I could not achieve this using the conditional formatting. Any ideas would be greatly appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional formatting--different formatting depending on cell con | Excel Discussion (Misc queries) | |||
Formatting Conditional Formatting Icon Sets | Excel Discussion (Misc queries) | |||
Formatting cells in a column with conditional formatting? | Excel Discussion (Misc queries) | |||
Protect Cell Formatting including Conditional Formatting | Excel Discussion (Misc queries) | |||
Conditional Formatting that will display conditional data | Excel Worksheet Functions |