+ Reply to Thread
Results 1 to 10 of 10

Filter the data accroding to items selected

  1. #1
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Filter the data accroding to items selected

    How to filter the data according to multiple items selected.

    You may refer to sheet[result] for expected output.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: Filter the data accroding to items selected

    Not able to understand your requirement, please mention properly.

    Regards,
    Suhas

  3. #3
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Filter the data accroding to items selected

    Quote Originally Posted by [email protected] View Post
    Not able to understand your requirement, please mention properly.

    Regards,
    Suhas
    I have a yearly activities schedule contain with multiple country and company.
    The data have fill into column D to Q by follow month, country and company.

    Example:
    1. If I select Thailand and Company A, the schedule will show Yearly activates for Company A in Thailand.
    2. If I select Month Feb, Thailand and Company A, the schedule will show February activities for Company A in Thailand.
    3. If I select January only, the schedule will show all country and company information for January only.

    The data show in schedule table is depend on which type of requirement selected.

    Thanks

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Filter the data accroding to items selected

    I believe this will do what you require. Please let us know.
    Last edited by FlameRetired; 11-27-2014 at 02:00 AM.

  5. #5
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Filter the data accroding to items selected

    Quote Originally Posted by FlameRetired View Post
    I believe this will do what you require. Please let us know.
    Sorry, that is not what I required. Perhaps, my explanation is too weak.

    You may refer to sheet [result] at file attached. That is my requirement. The data show in schedule table is depend on which type of requirement selected.
    Attached Files Attached Files

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Filter the data accroding to items selected

    I might be more confused than I thought.

    Example:
    1. If I select Thailand and Company A, the schedule will show Yearly activates for Company A in Thailand.
    2. If I select Month Feb, Thailand and Company A, the schedule will show February activities for Company A in Thailand.
    3. If I select January only, the schedule will show all country and company information for January only.
    If you select/highlight B5:B6 in my uploaded file (Post #4) and delete the contents of those drop-down cells and choose say March

    from the month drop-down you will see output for March only for both Thailand and Singapore. As I interpreted your 3.) requirement

    that unique output is the result. As you select items B4, B5 and/or B6 and choose/delete according to your list in the above

    quote the output does what I interpret your list to require. Is that much correct?

    Now what the specific outputs are that you reveal in Post #5 are a very great mystery to me. I cannot perceive relationships as per

    your listed requirements and I cannot perceive patterns/relationships of the specific outcomes to other items on your sheet.

    Perhaps the grid below of your desired output (Post #5) will help clarify my question(s):

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    3
    Year 2014
    4
    Month January
    5
    Country Singapore
    6
    Personnel Area Company1
    7
    8
    9
    10
    NO
    ACTIVITIES
    OWNER
    January
    February
    March
    April
    May
    June
    January
    February
    March
    April
    May
    June
    11
    Singapore
    Singapore
    Singapore
    Singapore
    Singapore
    Singapore
    Thailand
    Thailand
    Thailand
    Thailand
    Thailand
    Thailand
    12
    Company1
    Company1
    Company1
    Company1
    Company1
    Company1
    CompanyA
    CompanyA
    CompanyA
    CompanyA
    CompanyA
    CompanyA
    13
    1
    Activities 1
    Client
    01.01.2014
    01.02.2014
    01.03.2014
    01.04.2014
    01.05.2014
    01.06.2014
    05.01.2014
    05.02.2014
    05.03.2014
    05.04.2014
    05.05.2014
    05.06.2014
    14
    2
    Activities 2
    Client
    01.01.2014
    01.02.2014
    01.03.2014
    01.04.2014
    01.05.2014
    01.06.2014
    06.01.2014
    06.02.2014
    06.03.2014
    06.04.2014
    06.05.2014
    06.06.2014
    15
    3
    Activities 3
    In-house
    02.01.2014
    02.02.2014
    02.03.2014
    02.04.2014
    02.05.2014
    02.06.2014
    10.01.2014
    10.02.2014
    10.03.2014
    10.04.2014
    10.05.2014
    10.06.2014
    16
    4
    Activities 4
    In-house
    11.01.2014
    11.02.2014
    11.03.2014
    11.04.2014
    11.05.2014
    11.06.2014
    14.01.2014
    14.02.2014
    14.03.2014
    14.04.2014
    14.05.2014
    14.06.2014
    17
    5
    Activities 5
    In-house
    12.01.2014
    12.02.2014
    12.03.2014
    12.04.2014
    12.05.2014
    12.06.2014
    19.01.2014
    19.02.2014
    19.03.2014
    19.04.2014
    19.05.2014
    19.06.2014
    18
    6
    Activities 6
    In-house
    15.01.2014
    15.02.2014
    15.03.2014
    15.04.2014
    15.05.2014
    15.06.2014
    22.01.2014
    22.02.2014
    22.03.2014
    22.04.2014
    22.05.2014
    22.06.2014
    19
    7
    Activities 7
    Client
    18.01.2014
    18.02.2014
    18.03.2014
    18.04.2014
    18.05.2014
    18.06.2014
    31.01.2014
    28.02.2014
    30.03.2014
    30.04.2014
    30.05.2014
    30.06.2014


    I can see the relationships of months and year in the output however I do not see how you arrived at the day designations

    or Singapore / Thailand designations. Singapore is chosen in B5, but output is for both.

    Can you clarify further?
    Last edited by FlameRetired; 11-28-2014 at 02:05 PM.

  7. #7
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Filter the data accroding to items selected

    Quote Originally Posted by FlameRetired View Post
    I might be more confused than I thought.

    Can you clarify further?
    Amend the file to make my question more clear. Please refer to file attached,

    Now, macros (name: [Data]) was created to advancefilter and copy data from sheet Database to sheet Summary.

    Problem still face is: If Month (B4) is blank, the data couldn't copy over however advancefilter (macros name:[Filter]) is not issue.

    Thanks
    Attached Files Attached Files

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Filter the data accroding to items selected

    I don't upload macro files. Sorry.

  9. #9
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Filter the data accroding to items selected

    Quote Originally Posted by FlameRetired View Post
    I don't upload macro files. Sorry.
    Thanks for your replied. I will post at VBA forum there.

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Filter the data accroding to items selected

    No, please do not post a duplicate thread to this, I will move it to the VBA forum if you want?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pivot table not showing the selected items when filter added
    By ShaliniGomes in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-23-2014, 01:44 AM
  2. Show Multiple Items Selected in Pivot Filter
    By cp41 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2014, 06:20 AM
  3. Return a value for items selected in a pivot filter
    By BaxBax in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 11-29-2013, 09:12 AM
  4. Display selected report filter items
    By prahlad in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2009, 07:20 AM
  5. [SOLVED] Print Pivottable - show all selected items in page filter
    By Koen in forum Excel General
    Replies: 0
    Last Post: 06-19-2006, 04:35 AM

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