+ Reply to Thread
Results 1 to 2 of 2

Formula to Filter Rows Into New Database on New Worksheet Based on Column Value

  1. #1
    Registered User
    Join Date
    12-30-2010
    Location
    Akron, Ohio, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Formula to Filter Rows Into New Database on New Worksheet Based on Column Value

    I was curious if there was a formula for this, as I typically prefer formulas to macros (not everyone who will be using this can be trusted to hit a button before pulling data).

    I have a large database that is constantly being updated ... sometimes with copy/pastes or deletes of thousands at a time. I'm wanting to break down the database into smaller ones, doing so by segmenting rows according to a shared column value, and have them post in a new database on a new worksheet in the same workbook. I don't need them removed from the first page, but I can't have blank rows included in the new sheets.

    Here, I'll give an example in hope of being clear:

    Gen Code Ref ID Hits Sales Rev.
    DCH 04823 21 3 90
    DCV 04117 54 12 452
    DCH 03991 37 9 242
    DCR 04231 18 4 132
    DCV 04441 5 0 0
    DCV 03872 72 17 553
    DCR 04086 31 2 56
    DCH 04004 42 12 347
    DCN 03641 112 37 1009


    What I'm trying to do is to have all the "DCH" Gen Codes listed in Sheet2, all the "DCR" Gen Codes in Sheet3, all the "DCV" Gen Codes in Sheet4, and "DCN" in Sheet5.

    Is this AT ALL possible with formulas on those sheets?

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula to Filter Rows Into New Database on New Worksheet Based on Column Value

    what constitutes a "code" what do you want the finished sheets to look like perhaps posting an excel workbook with examples would help
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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