+ Reply to Thread
Results 1 to 6 of 6

Merge Thousands of CSVs with Same Data Structure into 1 Sheet by Rows

  1. #1
    Registered User
    Join Date
    01-24-2012
    Location
    New York
    MS-Off Ver
    Mac 2019
    Posts
    6

    Merge Thousands of CSVs with Same Data Structure into 1 Sheet by Rows

    I have thousands of CSV files all with the same data structure - A1:A6 (Header) and B1:B6 (Data). I'd like to copy the data into a single sheet with the following data sctrucutre: A1:F1 (header), A2:F2 (data) then repeat A3:F3 (new data).

    I tried using Jerry Beaucaire's - Excel Assistant CSV to Rows, but I was unable to get the funciton to work properly. It just kept copying the header info over and over.

    Any help would be appreciated.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Merge Thousands of CSVs with Same Data Structure into 1 Sheet by Rows

    Perhaps have a look at https://www.rondebruin.nl/win/s3/win021.htm

  3. #3
    Registered User
    Join Date
    01-24-2012
    Location
    New York
    MS-Off Ver
    Mac 2019
    Posts
    6

    Re: Merge Thousands of CSVs with Same Data Structure into 1 Sheet by Rows

    Thanks for the idea. Unfortunately, I get a compile error when running that code. I'm on Mac Excel if that has anything to do with it.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Merge Thousands of CSVs with Same Data Structure into 1 Sheet by Rows

    Then I would suggest modifying your profile accordingly ( which won't solve your problem but attract Mac users' attention)

  5. #5
    Registered User
    Join Date
    01-24-2012
    Location
    New York
    MS-Off Ver
    Mac 2019
    Posts
    6

    Re: Merge Thousands of CSVs with Same Data Structure into 1 Sheet by Rows

    Thanks. Done. Hopefully someone will catch it.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Merge Thousands of CSVs with Same Data Structure into 1 Sheet by Rows

    As you have the 2019 version of Excel, Power Query may be an option for completing this task. Linked below is a video (will have to endure a short commercial) that talks about compiling multiple files into either a spreadsheet (@1M rows) or data model (millions of rows)(this section begins around the 21:50 mark) depending on the size of the files involved.
    https://www.youtube.com/watch?v=ohGFPF12Qwc&t=1275s
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Condensing thousands of rows of user data using dates
    By ShamanWolf in forum Excel General
    Replies: 3
    Last Post: 03-17-2019, 05:54 AM
  2. [SOLVED] Merge multiple CSVs in a single master
    By rxk in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-28-2018, 07:25 PM
  3. Replies: 4
    Last Post: 02-10-2014, 01:20 PM
  4. How to delete thousands of rows of nothing below my data?
    By jeremiah89 in forum Excel General
    Replies: 13
    Last Post: 06-07-2013, 01:10 PM
  5. [Solved]Merge/Append data from multiple .CSVs
    By Zurar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-05-2011, 06:35 AM
  6. Mail merge macro - ensuring only certain rows are pulled from data sheet
    By panaceus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2009, 08:54 AM
  7. Replies: 4
    Last Post: 04-26-2007, 02:13 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