+ Reply to Thread
Results 1 to 6 of 6

Filtering data from one work sheet to another

  1. #1
    Registered User
    Join Date
    09-29-2007
    Posts
    3

    Filtering data from one work sheet to another

    Hi,

    Hope you guys will be able to help me.

    I have this excel sheet with 1000's of rows of data and with 15 columns.

    Data is in the following format

    1001 - abc -123 - art - so on
    1001 - def -345 - sdf - so on
    1002 - ghi - sdfs - sad - so on
    1003 - abc - dfd -dfs -so on
    1003 - def - asd -ere -so on

    What I want to do is ideally excel pulling out automatically all the 1001s to sheet 2 all 1002 to sheet 3, all 1003s to sheet 4 and so on.

    The problem is the as in the example the number of rows under each category is different meaning like here there are two 1001s but only one 1002 and there could be ten 1005s. However the category is unique, meaning I would want all 1001s in a separate sheet.

    If this can't be automated then I would be happy with a less than ideal situation where I have to go an enter/type in each worksheet say the category name and then excel brings up all the data under that category into that sheet. For example, in the above example I go to worksheet 2 and type in 1001 and the excell copies all the data from worksheet 1 of the category 1001 to the second sheet.

    Hope I didn't confuse you guys and thanks in advance

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    This link should be what your after

    http://www.rondebruin.nl/copy5.htm#sheet

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    09-29-2007
    Posts
    3
    @VBA Noob

    What a quick reply.. Thanks ever so much. It worked like a dream... Really appreciate your help. Thanks again

    Anish

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    No problem

    Glad it helped

    VBA Noob

  5. #5
    Registered User
    Join Date
    09-29-2007
    Posts
    3
    Hi again,

    Just to be difficult... is there any way to sort the new work sheets in ascending order to the right of the main sheet?

    For example: Data Sheet, 1001, 1002, 1003, 1004 and so on?

    At the moment it inserts the new worksheet to the left of the main sheet (or the sheet I am in ) in ascending order.

    Sorry to be a pain


    thanks

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe move it to the end

    Change

    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Or you can try sort

    http://www.cpearson.com/excel/sortws.aspx

    VBA Noob

+ 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