Combining a ton of Excel files into one Excel file
November 6, 2008 11:41 AM
Subscribe
How do I combine a lot of excel files into one file?
I have hundreds of excel files that I want to combine into one excel file. I want the data from each file to get piled up into one big file, in one workbook. Just imagine if you had individual sports player stats, and you wanted to just see a big long list of player 1 separately, then player 2 separately, then player 3, on down.
This website suggests a command line solution, but I don't know if that works, plus I'm using .xls files though I know the csv files referenced at that solution are similar.
How do you suggest I do this?
posted by cashman to computers & internet (11 comments total)
6 users marked this as a favorite
Second, CSV and XLS are fundamentally different. CSV is a text-only file that you can open with any text-editor. XLS files are binary representations of all kinds of data, text being only a small part, that are generally only supported by Excel and other spreadsheet applications.
Text files can easily be combined with eachother, while binary files cannot.
If your data is only columns of text and numbers, without graphs or fonts, then this is the easiest process:
1. Export each of your files to CSV by selecting it from the Format menu under the filename in the Save As area of Excel.
2. Use the solution you linked to, or a similar solution, to combine each of these resulting text files with eachother into one file.
3. Re-open the file in Excel and Save As XLS.
posted by odinsdream at 12:05 PM on November 6, 2008