+ Reply to Thread
Results 1 to 2 of 2

Automatically Combining Records from 2 Files into one data base

  1. #1
    Registered User
    Join Date
    08-30-2013
    Location
    California
    MS-Off Ver
    Excel for Mac 2011
    Posts
    1

    Automatically Combining Records from 2 Files into one data base

    I want to combine two files to create one data base and am wondering if there is a way to do so quickly.

    Specifically, I have customer sales data from my web site that contains order numbers and sales data. From Google analytics, I have transaction information that also contains the order number. The data element that is common to both is order number. I can't just paste columns from one file into the other because the records listed in rows may not match up.

    I don't want to have to copy and paste data from one file to another for each record manually since I have thousands of records. Is there a way to merge the two files together automatically by having Excel "understand" that it should pair the two files together using the order number to create a row that contains data from both files?

    Thanks.

    -Mark
    Last edited by Mark Delman; 08-30-2013 at 05:38 PM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Automatically Combining Records from 2 Files into one data base

    You could use an User Defined Type (Data Structure - UDF) and gather the fields from each file to create the combined record.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. Macro to delete files base on excel data.
    By visha_1984 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2013, 08:39 AM
  2. [SOLVED] combining rows of data to make complete records
    By cjemerson8 in forum Excel General
    Replies: 1
    Last Post: 03-18-2006, 02:45 PM
  3. Access data base is able to store any number of records
    By clearcell in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-08-2005, 04:50 PM
  4. Combining singles data records
    By sunman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2005, 08:05 AM
  5. Import data from files with different names to EXCEL D'base.
    By thunderfoot in forum Excel General
    Replies: 2
    Last Post: 06-10-2005, 06:05 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