#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Post code lookup

Is it poosible to use this look up table

B7 Bolton
CH56 Cheshire
HU7 Hull
600 of these


to add to the full post code to create this

B7 1QR Bolton
CH56 8SX Cheshire
HU7 9FG Hull
B7 2QR Bolton
CH56 5fX Cheshire
HU7 8SG Hull
19000 of these


Any help would be greatly appreciated.

Paul.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Post code lookup

Do you mean that you currently have:

B7 1QR
CH56 8SX
HU7 9FG
B7 2QR
CH56 5FX
HU7 8SG
19000 of these

and you want to add the locations from your lookup table to another
column adjacent to the full postcode?

Pete

Paul Williams wrote:

Is it poosible to use this look up table

B7 Bolton
CH56 Cheshire
HU7 Hull
600 of these


to add to the full post code to create this

B7 1QR Bolton
CH56 8SX Cheshire
HU7 9FG Hull
B7 2QR Bolton
CH56 5fX Cheshire
HU7 8SG Hull
19000 of these


Any help would be greatly appreciated.

Paul.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Post code lookup

Yes that is right. It looked ok when i pasted it in but looked like this
when i posted it to the group.

The B7 and Bolton are also seperate cells.


"Pete_UK" wrote in message
oups.com...
Do you mean that you currently have:

B7 1QR
CH56 8SX
HU7 9FG
B7 2QR
CH56 5FX
HU7 8SG
19000 of these

and you want to add the locations from your lookup table to another
column adjacent to the full postcode?

Pete

Paul Williams wrote:

Is it poosible to use this look up table

B7 Bolton
CH56 Cheshire
HU7 Hull
600 of these


to add to the full post code to create this

B7 1QR Bolton
CH56 8SX Cheshire
HU7 9FG Hull
B7 2QR Bolton
CH56 5fX Cheshire
HU7 8SG Hull
19000 of these


Any help would be greatly appreciated.

Paul.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Post code lookup

OK, Paul, suppose your lookup table occupies G1 to H600, and that you
have your full postcode in column A from A1 to A19000. Put this formula
in B1:

=VLOOKUP(LEFT(A1,FIND(" ",A1)-1),G$1:H$600,2,0)

Adjust the ranges to suit your situation and then copy the formula down
- a quick way is to select B1 and then double-click the fill-handle
(the small black square in the bottom right corner of the cursor).

You can then (with the formula cells still highlighted) click <copy
then Edit | Paste Special | Values (check) OK and <Esc to fix the
values.

Hope this helps.

Pete

Paul Williams wrote:

Yes that is right. It looked ok when i pasted it in but looked like this
when i posted it to the group.

The B7 and Bolton are also seperate cells.


"Pete_UK" wrote in message
oups.com...
Do you mean that you currently have:

B7 1QR
CH56 8SX
HU7 9FG
B7 2QR
CH56 5FX
HU7 8SG
19000 of these

and you want to add the locations from your lookup table to another
column adjacent to the full postcode?

Pete

Paul Williams wrote:

Is it poosible to use this look up table

B7 Bolton
CH56 Cheshire
HU7 Hull
600 of these


to add to the full post code to create this

B7 1QR Bolton
CH56 8SX Cheshire
HU7 9FG Hull
B7 2QR Bolton
CH56 5fX Cheshire
HU7 8SG Hull
19000 of these


Any help would be greatly appreciated.

Paul.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Post code lookup

Thanks very much Pete. Works fine.

Paul.


"Pete_UK" wrote in message
oups.com...
OK, Paul, suppose your lookup table occupies G1 to H600, and that you
have your full postcode in column A from A1 to A19000. Put this formula
in B1:

=VLOOKUP(LEFT(A1,FIND(" ",A1)-1),G$1:H$600,2,0)

Adjust the ranges to suit your situation and then copy the formula down
- a quick way is to select B1 and then double-click the fill-handle
(the small black square in the bottom right corner of the cursor).

You can then (with the formula cells still highlighted) click <copy
then Edit | Paste Special | Values (check) OK and <Esc to fix the
values.

Hope this helps.

Pete

Paul Williams wrote:

Yes that is right. It looked ok when i pasted it in but looked like this
when i posted it to the group.

The B7 and Bolton are also seperate cells.


"Pete_UK" wrote in message
oups.com...
Do you mean that you currently have:

B7 1QR
CH56 8SX
HU7 9FG
B7 2QR
CH56 5FX
HU7 8SG
19000 of these

and you want to add the locations from your lookup table to another
column adjacent to the full postcode?

Pete

Paul Williams wrote:

Is it poosible to use this look up table

B7 Bolton
CH56 Cheshire
HU7 Hull
600 of these


to add to the full post code to create this

B7 1QR Bolton
CH56 8SX Cheshire
HU7 9FG Hull
B7 2QR Bolton
CH56 5fX Cheshire
HU7 8SG Hull
19000 of these


Any help would be greatly appreciated.

Paul.






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Post code lookup

Glad to help - thanks for feeding back.

Pete

Paul Williams wrote:

Thanks very much Pete. Works fine.

Paul.


"Pete_UK" wrote in message
oups.com...
OK, Paul, suppose your lookup table occupies G1 to H600, and that you
have your full postcode in column A from A1 to A19000. Put this formula
in B1:

=VLOOKUP(LEFT(A1,FIND(" ",A1)-1),G$1:H$600,2,0)

Adjust the ranges to suit your situation and then copy the formula down
- a quick way is to select B1 and then double-click the fill-handle
(the small black square in the bottom right corner of the cursor).

You can then (with the formula cells still highlighted) click <copy
then Edit | Paste Special | Values (check) OK and <Esc to fix the
values.

Hope this helps.

Pete

Paul Williams wrote:

Yes that is right. It looked ok when i pasted it in but looked like this
when i posted it to the group.

The B7 and Bolton are also seperate cells.


"Pete_UK" wrote in message
oups.com...
Do you mean that you currently have:

B7 1QR
CH56 8SX
HU7 9FG
B7 2QR
CH56 5FX
HU7 8SG
19000 of these

and you want to add the locations from your lookup table to another
column adjacent to the full postcode?

Pete

Paul Williams wrote:

Is it poosible to use this look up table

B7 Bolton
CH56 Cheshire
HU7 Hull
600 of these


to add to the full post code to create this

B7 1QR Bolton
CH56 8SX Cheshire
HU7 9FG Hull
B7 2QR Bolton
CH56 5fX Cheshire
HU7 8SG Hull
19000 of these


Any help would be greatly appreciated.

Paul.



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
copy and use vba code Giz Excel Discussion (Misc queries) 9 November 22nd 06 09:57 PM
Is it possible to have a multiple lookup formula. Arul T Excel Discussion (Misc queries) 1 April 20th 06 10:17 AM
Using other workbooks.. DavidMunday Excel Worksheet Functions 2 July 1st 05 07:35 AM
Post Code search Porirua New Users to Excel 6 June 23rd 05 12:27 AM
Make Change Case in Excel a format rather than formula Kevin Excel Worksheet Functions 1 March 18th 05 08:53 PM


All times are GMT +1. The time now is 02:37 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"