#1   Report Post  
frapey
 
Posts: n/a
Default lookup

I need to insert a property reference No. in a list of properties by
comparing with a second worksheet containing the reference No's. i think i
will need to match the first 2 or 3 lines of the address to do this.

Ref No | Address1 | Address2 | Address3
?????? | 15 | The Street | Our Town

i would appreciate any help with this as i need to import into Access using
ref no as unique ID
Any ideas?
  #2   Report Post  
CLR
 
Posts: n/a
Default

Concatenation should help here..........make a new column on the left of
your second worksheet table called "concat"..........then put =A1&B1&C1 in
it to give you "15The StreetOurTown".......then do Copy PasteSpecial
Values on the column.........then name the entire range "MyTableName" or
something appropriate by highlighting the range and doine Insert Name
Define, and finishing the menu............

then on Sheet 1 use =VLOOKUP(A1&B1&C1,MyTableName,5,false) and copy it
down......

Change the Cell designations to match your data and the "5" in the formula
to match the column where your "Property Reference Number" is.......


Vaya con Dios,
Chuck, CABGx3



"frapey" wrote in message
...
I need to insert a property reference No. in a list of properties by
comparing with a second worksheet containing the reference No's. i think i
will need to match the first 2 or 3 lines of the address to do this.

Ref No | Address1 | Address2 | Address3
?????? | 15 | The Street | Our Town

i would appreciate any help with this as i need to import into Access

using
ref no as unique ID
Any ideas?



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
How to create a lookup table with an added varable? GIZZMO Excel Worksheet Functions 3 April 6th 09 10:32 PM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
Index table lookup anomaly Carole O Excel Worksheet Functions 9 December 9th 04 04:33 PM
Excel Lookup Functions Paul Adams Excel Worksheet Functions 1 November 10th 04 02:40 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 05:15 PM.

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"