+ Reply to Thread
Results 1 to 6 of 6

filtering list into workbooks

  1. #1
    Registered User
    Join Date
    12-14-2006
    Posts
    3

    filtering list into workbooks

    Hi All,


    I have a question which is probably simple for many of you Excel experts.

    I have a report that is run weekly - it's an export from a database - every week different number of rows.
    What I need to do is filter the list based on the column 1 and copy the whole row into one of the workbooks depending on the context of the cell in the column 1 - ie New York goes onto the New York workbook, London goes onto London etc.

    a little VB would do the trick, as I don't want to use IF statements here.

    I'm sure you can solve this.


    Thanks,
    Valeix

  2. #2
    Forum Contributor
    Join Date
    12-12-2005
    Posts
    667
    It seems to me all you need to do is to use the Filter (Data, Folter, select London...) then copy the data!
    Best regards,

    Ray

  3. #3
    Registered User
    Join Date
    12-14-2006
    Posts
    3
    Quote Originally Posted by raypayette
    It seems to me all you need to do is to use the Filter (Data, Folter, select London...) then copy the data!

    Well that's what i usually do. Thing is I have something like 30 locations and it's just a waste of time to do same thing manually every week.

    Thanks anyways.

  4. #4
    Forum Contributor
    Join Date
    12-12-2005
    Posts
    667
    Then use the macro recorder with a shortcut key to automate this proxcess!

  5. #5
    Registered User
    Join Date
    12-14-2006
    Posts
    3
    Quote Originally Posted by raypayette
    Then use the macro recorder with a shortcut key to automate this proxcess!

    Since it's a different number of cases every week recorded macro will not work simply because it records the row number when you copy. And the number of rows for each location is different every week.

    Thanks,
    Valeix

  6. #6
    Forum Contributor
    Join Date
    09-28-2006
    Posts
    122
    if the list of 30 locations is constant, then recording / running a macro to filter on each location, then copy and paste the filtered cells should work

+ 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