#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Is this Vlookup

To simplify my problem, I have 2 wooksheets. On sheet1 i have 2
columns that I need to reference. Col_B has old ref and Col_Z has new
ref.
While on Sheet2 I have Col_K which is the same as Col_B on shee1 (old
ref). Whilst they both contain the old ref numbers they are not in the
same order and indeed sheet2 has many old refs missing.
On sheet2 I need to create a new column (Col_M) which contains the New
Ref ie same as Col_Z on sheet1.
So I need to match Col_B (sheet1) with Col_K (sheet2) and then copy
over Col_Z (sheet1) to Col_M. (sheet2) What is the best way to achive
this please.

Bob

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Is this Vlookup

One way ..

In Sheet2,
Put in M1:
=IF(ISNA(MATCH(K1,Sheet1!B:B,0)),"",INDEX(Sheet1!Z :Z,MATCH(K1,Sheet1!B:B,0)))
Copy down as far as required.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Box666" wrote:
To simplify my problem, I have 2 wooksheets. On sheet1 i have 2
columns that I need to reference. Col_B has old ref and Col_Z has new
ref.
While on Sheet2 I have Col_K which is the same as Col_B on shee1 (old
ref). Whilst they both contain the old ref numbers they are not in the
same order and indeed sheet2 has many old refs missing.
On sheet2 I need to create a new column (Col_M) which contains the New
Ref ie same as Col_Z on sheet1.
So I need to match Col_B (sheet1) with Col_K (sheet2) and then copy
over Col_Z (sheet1) to Col_M. (sheet2) What is the best way to achive
this please.

Bob


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 02:34 AM.

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

About Us

"It's about Microsoft Excel"