Values w/conditional formatting

F

Fred Timmons

I am managing a do-not-call list with a large contact
database. How do I establish a poitive/negative match
from source data.
eg. Cell D7 value is: 212-555-1212.
The source worksheet has a list of all phone numbers in
Column A.
So, if the value of Cell D7 matches a value in source
worksheet Column A, I can conditionally format it.
Thanks in advance.
 
D

Dave R.

You can use the FORMULA IS option under conditional formatting. Use a
formula like

=COUNTIF($A$1:$A$999,B1)>0

if you're referencing another worksheet, you must use indirect

=COUNTIF(INDIRECT("Sheet1!$A$1:$A$999"),B1)>0
 
B

Bob Phillips

Use conditional formatting with a formula of
=ISNUMBER(MATCH($D$7,$A:$A,0))

and select a colour for the format.

If that source sheet is a different sheet to D7, then you will need to give
the cells in column A a workbook name and refer to that in the formula.


--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top