+ Reply to Thread
Results 1 to 4 of 4

Combining data from 2 spreadsheeets to 1

  1. #1
    Registered User
    Join Date
    05-11-2009
    Location
    London UK
    MS-Off Ver
    Excel 2007
    Posts
    1

    Combining data from 2 spreadsheeets to 1

    Anyone got any suggestions how to combine data from 2 spreadsheets where some info is shared and potentially some duplicated.

    Example first file has columns headed Client Name, Client Number
    Second file has columns headed Client Name, Client Value.

    Problem is second file doesnt include all Client Names in it and corresponding client values.

    What I would like is 1 combined file of Client Name, Client Number, and Client Value.

    Any suggestions greatly appreciated.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Combining data from 2 spreadsheeets to 1

    Hi,

    Welcome to the forum, maybe this might help?

    http://excel.tips.net/Pages/T003005_..._Into_One.html
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Contributor
    Join Date
    01-13-2009
    Location
    Mumbai
    MS-Off Ver
    Excel 2003, 2007
    Posts
    168

    Re: Combining data from 2 spreadsheeets to 1

    Hi hoooray,

    You can use Vlookup for a simple consolidation..

    Vlookup - "Searches for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify in the table. Use VLOOKUP instead of HLOOKUP when your comparison values are located in a column to the left of the data you want to find.

    The V in VLOOKUP stands for "Vertical."

    Syntax

    VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)"

    I have attached a sample file for your reference.

    HTH,
    Vaibhav
    Attached Files Attached Files

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Combining data from 2 spreadsheeets to 1

    If the two sheets are in the same workbook, run this "version" of the macro OldChippy suggested, which only did half the job you wanted. This version consolidates matching Names.
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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