Results 1 to 4 of 4
  1. #1
    Grafixx01 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    13

    Combine XLSX into a DB for searching


    So here is my question. I have numerous MS Excel files, some with multiple sheets in them, but would like to combine them into a single, searchable database. The issue is that each of these spreadsheets is from a different source where they have different column headers, yet they contain similar information in some of the columns.

    Some fields examples are a persons name in a single field, separate last and first name, paid, amount paid, etc.

    I'm trying to combine the files into a single database to pull together the persons name with all the amounts that they have paid.

    Any ideas?

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    No easy way to do this, I would suggest you either link or import them in a new Access file where you would create a standardized table (FirstName, LastName, AmountPaid,etc.) to which you append them using customized queries for each sheet to "remap" the fields to your new table. If the data entry is done in Excel you should create a new template based on your final Access table so the field names would match.

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  3. #3
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    I would be tempted to create an Excel macro to "clean up" all the Excel data first, so it all gets put in the same format/order, and then import those.

  4. #4
    accesstos's Avatar
    accesstos is offline Expert
    Windows XP Access 2007
    Join Date
    Dec 2018
    Location
    Greece
    Posts
    551
    Create a linked table for each worksheet and make your combinations in a single union query, pulling anything you need from each linked table.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Exporting queries to .xlsx
    By Bcanfield83 in forum Import/Export Data
    Replies: 2
    Last Post: 08-20-2018, 02:51 PM
  2. VBA to load xlsx into ACCESS without opening it
    By johnseito in forum Programming
    Replies: 13
    Last Post: 10-25-2017, 07:25 PM
  3. Saveas Dialog Box With .xlsx As Filetype
    By Manish_05 in forum Import/Export Data
    Replies: 7
    Last Post: 05-07-2014, 12:16 PM
  4. Replies: 6
    Last Post: 07-23-2013, 11:57 AM
  5. No Option to Export to .xlsx
    By laytonp in forum Import/Export Data
    Replies: 3
    Last Post: 11-04-2010, 12:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums