+ Reply to Thread
Results 1 to 3 of 3

match data from 2 columns and then return value from a 3rd one

  1. #1
    Registered User
    Join Date
    10-04-2008
    Location
    Germany
    Posts
    16

    match data from 2 columns and then return value from a 3rd one

    hello,

    1. i am comparing text
    2. i have >100 countries, and with vlookup i have to type every single one, and this is what i want to escape (mb i need to refer to an array, or string, or no idea)
    3. mb a solution could be sth with index, or match, i just tried it, copying some similar formula from www, but it didn't match the countries, and return the value respective for that country.

    E.g. I have China in col1 (1st file), #employees 10 in col2 (1st file), and China in Col 1 in 2nd file. So, a formula should match China & China from both files, and return 10 as number of employees.

    If you see a solution, pls. let me know,

    thx a lot...
    Last edited by excel_try; 10-11-2008 at 03:59 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394
    vlookup will do what you want. Make sure your first sheet is sorted in alpha order (by country). Click in cell B1 of your second sheet and enter the function wizard (Fx near the data entry point below the toolbars). Find vlookup by typing it into search. The lookup value is the data in cell A1 (ie the first country), table array is all data in the first sheet. Make sure you use absolute references (ie $A$1:$b$100), column index =2, Range lookup = 0

  3. #3
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Please don't cross post across the sections

    http://www.excelforum.com/excel-work...-is-found.html
    Ed
    _____________________________
    Always learning, but never enough!
    _____________________________

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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