#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Replacment in excel

hi all

how i replace onr colum in excel

for example if i have sheet in excel include the following data
a
a
a
a
a
b
b
a
c
c
a
d
b
c
a
f
a
f

and i have other sheet include the following

a 12
b 22
c 4
d 55
e 23
f 12


how i replace all first sheet data by the make all a cell 12 and all b cell
22 (data from sheet 2)

with out make replacement one by one


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Replacment in excel

Hi

In cell B1 of the first sheet enter
=VLOOKUP(A1,Sheet2!A:B,2,0)
Hover over the bottom left corner of cell B1 till you see the fill handle (a
small solid black cross)Double click
This will fill the formula down column B for as far as data extends in
column A.

If you want, you can then copy the whole of column Bplace cursor in
A1Paste SpecialValues.
This will replace the letters in column A with their numeric values.
Column B can then be deleted.

--
Regards
Roger Govier

"FROM SA" wrote in message
...
hi all

how i replace onr colum in excel

for example if i have sheet in excel include the following data
a
a
a
a
a
b
b
a
c
c
a
d
b
c
a
f
a
f

and i have other sheet include the following

a 12
b 22
c 4
d 55
e 23
f 12


how i replace all first sheet data by the make all a cell 12 and all b
cell
22 (data from sheet 2)

with out make replacement one by one


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"