use edit>FIND
record a macro while doing and then clean it up.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Stig LA" <Stig
(E-Mail Removed)> wrote in message
news:66EF5F12-BFC6-4A1F-9713-(E-Mail Removed)...
> I'm using Excel 2003
> Can anybody help with programming this:
> I have a column of numbers in F20:F33 I would like to check against an
> other
> colums of numbers in A20:A23. All numbers are phone numbers - no
> parentheses.
> If a number in F match a number in A, it should return a "Y" (for yes) in
> the adressfield to the right for this number (say G28).
> I tried to modify the IF COUNT IF in the thread shown in "Programming" on
> the 10.02.2010 without succes.
> The above ranges are arbitrary. The real ones are much much longer.
>
> Thank you in advance.
>
>