find and replace
add a column D
Col A Col B Col C Col D
3 1 Ford =VLOOKUP(A1,B:C,2,0)
1 2 Chevy
2 3 Dodge
or you could set it up like this
Col A Col B Col C Col D Col E
3 (see below) 1 Ford
1 2 Chevy
2 3 Dodge
The formula in cell B1 is now
=VLOOKUP(A1,D:E,2,0)
column C is blank. It is better to separate the tables like this. Even
better is to do it with separate sheets. It leads to less confusion when
things get more complex.
--
Allllen
"jason2444" wrote:
want to create a find and replace formula
in column A
A1)1
A2)4
A3)3
in column b I have numbers that relate to vehicle makes
b1)1
b2)2
b3)3
in C I have makes
c1)Ford
C2)Chevy
C3)Dodge
the numbers in column b relate to the makes in c so 1=Ford 2=Chevy 3=Dodge
I want to find the number in column A and have it replaced with the correct
make.
so if a1=1 then change it to ford if A2=3 then change it to dodge
I relaliz I can do this one by one using find and replace but is there a way
to do a batch find and replace
any one know how to do this?
|