+ Reply to Thread
Results 1 to 12 of 12

Issue with multiple filter

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2013
    Posts
    115

    Issue with multiple filter

    Dear All,
    I was facing a problem in the excel file with multiple filter.

    My problem is, As shown in the attached excel file.
    In one column of the file, I have ingredients code no and selling item code number,
    Ingredient code starts with 1001 to 1500
    selling item starting alphabets and the whole code like sa005, am009, am023 etc.

    now I want a filter which will select all the selling item code with only one ingredient, so that I can find out the total consumption of this ingredient.

    I posted this problem a long time ago and I found solutions using answer provided by benishiryo.

    http://www.excelforum.com/excel-form...ml#post3182767

    However since then, the no. of rows have increased and it became v tedius to remove all items that do not have 1001.

    "Is it possible to have only those records come where there is 1001 raw material meaning, those selling item that does not have 1001 raw material code. will not appear in advanced filter"

    I am open to all kinds of solutions including vba.

    Thanks
    AT
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Issue with multiple filter

    Your problem can be easily solvable, but need some clarification about it

    Why you are marking 1001 for all these groups?

    SA005
    SA0010
    AM022

    Whereas 1001 is marked to AM023, AM019 individually

    Please confirm the logic and at the same time what is the reason for allocating 1001 to these groups? Because of smallest value in the range?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2013
    Posts
    115

    Re: Issue with multiple filter

    Dear Sixth Sense, thanks for your feedback,

    sa005, sa0010, am022 are the sales item code, 1001 to 1500 whatever in between are the ingredients used in the selling this items.
    So for example I want to know the total consumption of 1001 ingredient for a period.
    I need to sort only those items, which have ingredients 1001, not all items. and then I can match with the sales and check consumption.


    This is the solution.

    hi there. what do you mean 'selling item code with only one ingredient"? i assume it's all those in text & 1001? in Sheet2, type in this formula somewhere say in D3:
    =OR(ISTEXT(A3),A3=1001)

    go to Data -> Advanced:
    List Range: $A$3:$A$97
    Criteria Range: $D$2:$D$3
    the criteria range has to have a blank cell above it.

    However, when I use the above method of benishriyo, I get all the items and i have to manually remove the items that does not contain the 1001,
    So I need a formula, which will remove all the items that does not contain 1001,

    I hope i was able to explain my issue and concerns.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Issue with multiple filter

    Refer the attached file for pivot solution
    Attached Files Attached Files

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Issue with multiple filter

    Try this code........

    Please Login or Register  to view this content.
    Please find the attached sheet.
    Is this what you want?
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  6. #6
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2013
    Posts
    115

    Re: Issue with multiple filter

    Sorry Guys for late response, Year end a lot reporting issues.

    Thanks sixthsense for your solution, I will work on it.

    Thanks sktneer, I worked on ur solutions and results came immediately. It worked perfectly fine, However I have additional request. Instead of getting one column. can we increase it to three columns. in order to get not only the codes but also the name and qty consumed. so i can get the sales figures and get the total consumption.

    I have added the same in file u sent and see the attachments.

    Rgds
    AT
    Attached Files Attached Files

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Issue with multiple filter

    See the attachment.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2013
    Posts
    115

    Re: Issue with multiple filter

    Hello sktneer,

    Thanks for your solution.
    But the problem with this solution is staying in the same example, If i were to remove 1001 from the sales code SA0010, then it will show SA0010, without the ing code 1001. So I have to go and remove manually all the codes that does not have 1001, thats v tedious task and I was getting that using is text and advanced filter before as well.

    I need a code that will eliminate all the other codes that does not have 1001.

    So in this case, sa0010 should not be part of the output.
    I have highlighted the same in current output and Output needed.

    Rgds
    AT
    Attached Files Attached Files

  9. #9
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Issue with multiple filter

    See this now.
    Attached Files Attached Files
    Last edited by sktneer; 12-15-2013 at 04:49 AM.

  10. #10
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Issue with multiple filter

    By mistake I uploaded the wrong sheet. I have edited my post and the correct sheet is Filter_Multiple_brandedadnan_2.xlsm

  11. #11
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2013
    Posts
    115

    Re: Issue with multiple filter

    Thanks Sktneer,
    It worked perfectly fine. I am so thankful for all your efforts.

    Thanks sixthsense, for your efforts as well.

    Rgds
    AT

  12. #12
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Issue with multiple filter

    You're welcome. Glad to help you. Thanks for the feedback.

+ 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. [SOLVED] Filter issue: data does not appear in filter box
    By Madmortagan68 in forum Excel General
    Replies: 2
    Last Post: 04-15-2013, 01:00 PM
  2. Filter issue
    By SimonBloomberg in forum Excel General
    Replies: 4
    Last Post: 03-30-2009, 07:45 AM
  3. Filter issue
    By tinkertron in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2008, 09:07 AM
  4. Filter Issue
    By traci_marie in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-07-2007, 06:41 AM
  5. Filter issue (I think)
    By mgalloway in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-07-2006, 12:30 PM

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