+ Reply to Thread
Results 1 to 2 of 2

Combine many files into a single worksheet with additional columns

  1. #1
    Registered User
    Join Date
    08-26-2011
    Location
    Wyoming
    MS-Off Ver
    Excel 2007
    Posts
    1

    Combine many files into a single worksheet with additional columns

    Hi All,

    Hope someone out there has had a similar issue, here goes.... I have a bunch of excel files (1000+) in a similar format. I need to combine the separate files into a single worksheet. The files have been formatted as a form so I don't need all of the sheet, just the data table in the middle of the sheet copied to the master worksheet. The data table in the middle of the sheet has a variable number of rows, sometimes just one and sometimes over 100. I also need to add three additional columns when the data is transferred. The source information for the additional columns is fixed to the same exact cells in every sheet, the data is the name, the date and the form number. They are in cells D8, H6 and H8. I need to pull all three of those values and add them to the data in separate columns as it is transferred into the master worksheet so I can run a pivot but name, date or form. I tried using the RDBMerge, it works great but has two configuration issues: 1) It can't be configured to determine the rows it needs to copy & 2) It can't be configured to add additional columns other the filename that it came from.

    I've done quite a bit of VBA in Access, but I'm a newbie with Excel VBA, so I don't really even know where to start. Any help that can be provided would be greatly appreciated. Thanks in advance!

  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: Combine many files into a single worksheet with additional columns

    Attach sample workbooks. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    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. [SOLVED] Combine columns into a single cell
    By mellowmarshall in forum Excel General
    Replies: 2
    Last Post: 08-01-2013, 02:26 PM
  2. Excel 2007 : Combine multiple columns into a single one
    By daitrangle2308 in forum Excel General
    Replies: 0
    Last Post: 04-19-2012, 06:49 AM
  3. How to combine separate columns in to single range
    By is49460 in forum Excel General
    Replies: 5
    Last Post: 05-20-2011, 10:45 AM
  4. Combine several columns of different length into one single column
    By Neil Goldwasser in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-30-2006, 03:25 AM
  5. [SOLVED] how to combine several columns into a single column
    By jims in forum Excel General
    Replies: 9
    Last Post: 08-15-2005, 07:05 AM

Tags for this Thread

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