Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default REFERENCE ... VLOOKUP ... OFFSET... MATCH?

Good afternoon

I have a situation where I need to assign a zone number to a order number
based on where the order is originating. In my situation I am dealing with
Canadian Zip Codes and they have a pattern like ANANAN (where N=number and
A=character)

In spreadsheet 1, my supplier gave me a list of zips like "from zip codes
starting to B20 to zip codes B2Z = Zone 1"
which translates into a table with 3 columns Start Zip-3 from, Start Zip-3
to and zone number

In spreadsheet 2, I have a list of all the orders and the exact zip codes.

What would be the best way for me to lookup the zone number in my
spreadsheet 2 and to insert it into a cell on the same row as my order
number? Any idea of the formula i need to write to get the zone number based
on the first 3 digits of my zip codes, check it in the spreadsheet 1 and
import it in my spreadsheet 2?

Thanks so much


Mk


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default REFERENCE ... VLOOKUP ... OFFSET... MATCH?

The Index/Match functions will give you what you want:
http://www.contextures.com/xlFunctions03.html


Regards,
Ryan--

--
RyGuy


"Michel Khennafi" wrote:

Good afternoon

I have a situation where I need to assign a zone number to a order number
based on where the order is originating. In my situation I am dealing with
Canadian Zip Codes and they have a pattern like ANANAN (where N=number and
A=character)

In spreadsheet 1, my supplier gave me a list of zips like "from zip codes
starting to B20 to zip codes B2Z = Zone 1"
which translates into a table with 3 columns Start Zip-3 from, Start Zip-3
to and zone number

In spreadsheet 2, I have a list of all the orders and the exact zip codes.

What would be the best way for me to lookup the zone number in my
spreadsheet 2 and to insert it into a cell on the same row as my order
number? Any idea of the formula i need to write to get the zone number based
on the first 3 digits of my zip codes, check it in the spreadsheet 1 and
import it in my spreadsheet 2?

Thanks so much


Mk



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
is it vlookup, match, offset? ADiscrete1 Excel Worksheet Functions 2 May 25th 06 12:34 AM
Vlookup/match/offset over multiple columns of lable csw78 Excel Discussion (Misc queries) 6 June 8th 05 04:39 PM
Which to use - if, vlookup, match, index, offset, vba? punsterr Excel Discussion (Misc queries) 3 June 7th 05 07:42 PM
match data to reference then vlookup lucky Excel Discussion (Misc queries) 0 February 8th 05 09:41 PM
VLOOKUP, OFFSET, MATCH PROBLEM, HELP? Steve Excel Worksheet Functions 0 January 30th 05 09:11 PM


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