+ Reply to Thread
Results 1 to 3 of 3

Matching Cell with city to a cell with a corrsponding Carrier

  1. #1
    Registered User
    Join Date
    01-24-2014
    Location
    Coquitlam
    MS-Off Ver
    Excel 2010
    Posts
    11

    Matching Cell with city to a cell with a corrsponding Carrier

    So what I am trying to do is have a cell match a specific carrier to a cell that has the value of a corresponding city.

    The carriers have a list of cities that they correspond to.

    So for instance I have cell A1 = City and B1 = Carrier I want B1 to match the value from A1 to a carrier.

    I have attached a document so its less clear. Right now I am using the formula =INDEX(A86:C115, (MATCH(A1,A87:C87,0)), MATCH(A1,Vitranlist,0)) which only works for the one value of A1

    I attached an example if you could help me figure out the formula on there I should be able to use that and apply it to my document
    Attached Files Attached Files
    Last edited by Chnatko; 02-21-2014 at 05:48 PM.

  2. #2
    Registered User
    Join Date
    07-04-2013
    Location
    Liverpool
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Matching Cell with city to a cell with a corrsponding Carrier

    Hi Chnatko

    I have created a simple vlookup which I beleive is what you require.

    On sheet 2 it looks for the city and returns the value in column b.

    I hope this helps
    Attached Files Attached Files

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Matching Cell with city to a cell with a corrsponding Carrier

    So for instance I have cell A1 = City and B1 = Carrier I want B1 to match the value from A1 to a carrier.
    I think the bolded part was supposed to be match B2 to A2?

    I see you have 3 columns in your sample (1 with the drop-down), I presume you need to pick from column B or C? If so, you need to include that choice as well. (I used C3)

    A
    B
    C
    1
    City Point
    Carrier
    2
    Delivering
    Selected
    3
    Victoria
    Vernon
    Barnone
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    Vitrum Barnone Porch
    21
    Dawson Creek Quesnel Kamloops
    22
    Victoria Vernon Duncan
    23
    Prince George Fort St.John Cranbrook
    24
    Naramata Kimberley
    25
    Squamish Nelson
    26
    Kelowna
    27
    Penticton


    B3=INDEX($A$20:$C$27,MATCH($A$3,$A$20:$A$27,0),MATCH(C3,$A$20:$C$20,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 01-31-2014, 05:09 PM
  2. Replies: 5
    Last Post: 08-04-2006, 10:45 AM
  3. [SOLVED] If I have the zip code can I make it put the city in another cell
    By Carrie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-18-2005, 04:06 PM
  4. city, state, zip from a single cell to multiple cells
    By wjs2002 in forum Excel General
    Replies: 3
    Last Post: 04-29-2005, 02:06 AM
  5. [SOLVED] city, state, zip in same cell
    By whs2002 in forum Excel General
    Replies: 2
    Last Post: 04-29-2005, 02:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1