+ Reply to Thread
Results 1 to 5 of 5

Thread: Advanced Filter - Multi Scenario

  1. #1
    Registered User
    Join Date
    08-10-2010
    Location
    Boston, United States
    MS-Off Ver
    Excel 2003
    Posts
    3

    Advanced Filter - Multi Scenario

    Greetings,

    I am trying to filter an Excel 2003 spreadsheet. There are two unique scenarios that I need to handle.

    First scenario, list contains funds with multiple classes, one of which is called "total," filter the list to return only the fund containing the word "total"

    Ex. Scenario 1a
    Div Growth - Class A
    Div Growth - Class B
    Div Growth - Class C
    Div Growth - Total
    Div Growth Fund

    Ex. Scenario 1b
    Balanced - Class A
    Balanced - Class B
    Balanced - Class C
    Balanced - Total
    Balanced Fund

    Expected result (filter and return):
    Div Growth - Total
    Balanced - Total

    In the second scenario, the list does not contain the word/class "Total"

    Ex. Scenario 2a
    Emerging Mkts Fund - Class A
    Emerging Mkts Fund - Class B
    Emerging Mkts Fund - Class C
    Emerging Mkts Fund

    Ex. Scenario 2b
    Income - Class H
    Income - Class Y
    Income - Class X

    If the "total" class is not found, but a class(less) version of the fund is found then return the fund with word "fund" in the name [Emerging Mkts Fund].

    If the "total" class is not found, and a fund without the word "fund" in the name and where a class is not present is not found, then filter and return the fund with the highest alpha position class [Income - Class H].

    Note that all of these funds (and 1,000+ add'l funds) will be in the same column, in the same spreadsheet, so the solution needs to accommodate all of the above situations concurrently.

    Thanks very much for the help.

    R
    Last edited by TheCardiffGiant; 08-11-2010 at 02:00 PM.

  2. #2
    Forum Guru
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2003
    Posts
    2,288

    Re: Advanced Filter - Multi Scenario

    The first is easy, the second is less easy.

    The obvious way is to create a reference column which calculates which type a fund is, then filter that.

    I can show you how if you upload a small example.

    PS, this:
    Note that all of these funds (and 1,000+ add'l funds) will be in the same column, in the same spreadsheet, so the solution needs to accommodate all of the above situations concurrently.
    Is good news. Too many people chop raw information up then struggle to stick it back together. Far easier to filter a large dataset.
    Last edited by Cheeky Charlie; 08-10-2010 at 01:51 PM. Reason: PS
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  3. #3
    Registered User
    Join Date
    08-10-2010
    Location
    Boston, United States
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Advanced Filter - Multi Scenario

    Cheeky, thanks for the note.

    I have attached a file which contains some sample data. Sheet1 contains raw data. Sheet2 contains the expected output; I manually removed rows based on the requirements that I discussed in the previous post.

    Note:
    Yellow Highlight = Example of Scenario 1a from original post
    Orange Highlight = Example of Scenario 1b from original post
    Blue Highlight = Example of Scenario 2a from original post
    Gray Highlight = Example of Scenario 2b from original post

    Thanks again for your help.

    R
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2003
    Posts
    2,288

    Re: Advanced Filter - Multi Scenario

    So do you want four possible filter options?
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  5. #5
    Registered User
    Join Date
    08-10-2010
    Location
    Boston, United States
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Advanced Filter - Multi Scenario

    If it is possible, I would prefer one filter, multi-step filter, or code that handles all four scenarios and returns the data as shown in Sheet2.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0