Vlookup, copy only certain values

A

Aline

I"d like to use a vlookup function,that is part of macro, will return certain
values to the next column. Example, only Green and Red value is copied on
the column B from column A.


column A Column B
Green Green
Brown
Brown
Green Green
Red Red
Red Red
Black
Red Red

Wonder if anyone could help me.

Thanks,
Aline
 
W

Wigi

Hi Aline

Hmmm, I'm not getting full understanding of what you're doing.

What do you really want to do? Can't you place an IF-function in column B?
(with or without VBA-code). Or do you (want to) use the Find method
programmed in VBA (the VBA counterpart of Ctrl-F).

So, a bit more detail please and we will help you out ;-)
 

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