+ Reply to Thread
Results 1 to 5 of 5

Separate workbook by value in column into separate workbooks.

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    ann arbor
    MS-Off Ver
    Excel 2010
    Posts
    67

    Separate workbook by value in column into separate workbooks.

    Hi. So I have 10 very large workbooks that are all setup in the same format. In column Z is a numerical value from 1 to 83. I have been trying to filter the sheet and then copy one at a time from 1 to 83 but that takes a LONG time especially when there is 10 workbooks to do.

    Is there anyway I can run a function or macro or something that would just automatically look down the column Z and put each row into a it's own workbooks?

    I have attached a sample of what the workbooks look like right now, any help would be so great. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Contributor visha_1984's Avatar
    Join Date
    11-27-2012
    Location
    Pune,India
    MS-Off Ver
    Excel 2010
    Posts
    290

    Re: Separate workbook by value in column into separate workbooks.

    Hi loghtingPop

    u mean fillter in col Z and copy row and make new sheets or workbooks.
    Happy to Help

    VISHA

    Click *, if the suggestion helps you!
    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>> "Mark your thread as Solved"

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    ann arbor
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: Separate workbook by value in column into separate workbooks.

    Yes. Is there any way to automate that process so that every row that has matching values in column Z are copied over to a new workbook together?

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Separate workbook by value in column into separate workbooks.

    So if i understand this correctly, you want each workbook to be taken from a folder, check for column Z in each file and move the corresponding data to its own workbook. So this data should be copied to new workbooks or existing workbooks?

    Are the existing workbooks placed in the same folder or should the new workbooks be placed in the same folder or a new workbook altogether?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    11-13-2012
    Location
    ann arbor
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: Separate workbook by value in column into separate workbooks.

    Yes that is exactly what I would like to do. Be able to have some kind of command or macro that when ran in the currently opened workbook it would search through column Z and put the data that matches in it's own books.

    I am sorry if this is not clear.

    Basically I have 10 different work books and they are HUGE. All of them are the same format where column Z is a numerical value from 1-83. So it would copy all of the rows that have a 1 in column Z and put them in there own book. Does that makes sense?

    Currently there are not already workbooks in place for the data to be copied too so I really place them anywhere it is needed.
    Last edited by LightingPop; 02-25-2013 at 04:16 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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