We help IT Professionals succeed at work.
Get Started

Compare values in 2 Excel columns using VB to enter a new value in a 3rd column

173 Views
Last Modified: 2011-09-20
Hello, I would like to run a macro that looks for name in one column and if it find the name look for a not value in another and if it matches the two conditions enter a new value in a third column. so

If column A has a list of names I want the macro to first search for "Smith" for example. If it finds an instance of Smith I want it to look at Column B in the same row and look for "<> Tall". If it find an instance where there is a Smith in Column A and a "<> Tall" in column B it will enter "Short Smith" in Column C.
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE