+ Reply to Thread
Results 1 to 5 of 5

Combining different lists

  1. #1
    Registered User
    Join Date
    06-29-2018
    Location
    Singapore
    MS-Off Ver
    Office Mac 2016
    Posts
    14

    Combining different lists

    Sorry if this is a newbie question, but…

    I have a single spreadsheet containing several worksheets.

    On each worksheet is a table of countries, along with data gathered from different sources.

    So for example, on worksheet 1, I have a list of countries by per capita GDP from the world bank. On worksheet 2, I have a list of countries by disposable income from the OECD.

    The problem is, these lists of countries aren’t exactly the same. The World Bank list might have 156 countries, but the OECD list might have 175 countries.

    Is there a way to combine these different sources into a single list? e.g. I want to have a master table of countries with both per capita GDP and disposable income.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Combining different lists

    Yes. Set up the full list of countries on the new sheet and your column headings, then simply use VLOOKUP or INDEX MATCH to bring the relevant data into it.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-29-2018
    Location
    Singapore
    MS-Off Ver
    Office Mac 2016
    Posts
    14

    Re: Combining different lists

    Quote Originally Posted by AliGW View Post
    Yes. Set up the full list of countries on the new sheet and your column headings, then simply use VLOOKUP or INDEX MATCH to bring the relevant data into it.
    Thanks for the reply!

    Can you be more detailed? I'm not really familiar with the VLOOKUP or INDEX MATCH functions.

    For example, I have uploaded an excel spreadsheet that contains 2 lists. Can you create a new list that combines these 2?
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-15-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Combining different lists

    here you go
    Attached Files Attached Files
    Last edited by tamskinner; 07-10-2018 at 03:02 AM. Reason: add attachment!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Combining different lists

    There is no full country list in the attachment. What you need to do first is set that up (say on Sheet3). I have copied and pasted from the two existing lists and then removed duplicates using that option on the data ribbon.

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    1
    GDP Disposable Income
    2
    US
    1000
    3
    Brazil
    320
    4
    Britain
    6000
    5
    France
    250
    6
    Germany
    7000
    450
    7
    India
    9000
    210
    8
    Indonesia
    170
    9
    Iran
    5000
    10
    Japan
    2000
    100
    11
    Korea
    8000
    190
    12
    Russia
    4000
    200
    Sheet: Sheet3

    Excel 2016 (Windows) 32 bit
    B
    C
    2
    =IFNA(VLOOKUP(A2,Sheet1!$A$2:$B$9,2,0),"")
    =IFNA(VLOOKUP(A2,Sheet2!$A$2:$B$10,2,0),"")
    Sheet: Sheet3

+ 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. [SOLVED] Combining two lists in two equal lists
    By Excell1677 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-24-2016, 06:51 PM
  2. Combining lists
    By anakaine in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2013, 06:16 PM
  3. Combining lists together
    By apatel615 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-07-2012, 03:26 AM
  4. Combining lists
    By sobel in forum Excel General
    Replies: 5
    Last Post: 07-13-2012, 02:48 PM
  5. Help combining lists
    By kirioko in forum Excel General
    Replies: 6
    Last Post: 03-14-2009, 12:03 PM
  6. Combining lists
    By EdMac in forum Excel General
    Replies: 3
    Last Post: 09-01-2006, 06:55 AM
  7. [SOLVED] Combining 2 lists
    By stevenrhonda in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-05-2006, 06:50 PM

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