+ Reply to Thread
Results 1 to 12 of 12

How to filter multiple columns with single fliter drop-down arrow

  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    california
    MS-Off Ver
    Excel 2010
    Posts
    6

    How to filter multiple columns with single fliter drop-down arrow

    Hi, I'll post example pictures to explain better, but I'm getting very frustrated... It seems like such a simple thing to do but I cannot figure it out.
    I want to be able to filter for specific values in all the columns underneath a merged cell group. I used a simplified example of just "Letters", because my data is proprietary and large, but the format is the same.

    capture1.PNG

    When I use the filter, it only filters the first column. As shown below, it doesn't even recognize that there are 'c' and 'd' values.

    Capture3.jpg

    And when I do filter for just 'a' values. It only recognizes the first column, and column C isn't acknowledged for having 'a' values in it.

    Capture2.PNG

    So what I want to happen is with that single filter, I can filter the data for any value contained in all the columns (in this example columns A - D), and it will find that value in any row. In this example, filtering for 'a' should have given me all the rows back because they each had an 'a' value in them.


    Thanks for any help you can give me.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: How to filter multiple columns with single fliter drop-down arrow

    First off welcome to the forum.

    Second off, it is proper annoying to open three pictures of a data set so next time include a sample workbook (which is also MUCH more likely to draw help from the community).

    Third, you could concatenate all of the fields into one field to the left or right then filter on the concatenated field.


    But If it were me I would try to restructure the data to make it easier to work with. I prefer to have things in ONE column each so you can do everything much easier, avoiding the more complex logic needed.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: How to filter multiple columns with single fliter drop-down arrow

    On a side note, I think it might be possible to use advanced filters with "contains" A.

    http://office.microsoft.com/en-us/ex...005200178.aspx
    http://www.mrexcel.com/forum/excel-q...same-time.html

  4. #4
    Registered User
    Join Date
    08-29-2013
    Location
    california
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to filter multiple columns with single fliter drop-down arrow

    Hah, yeah sorry about that. When I was trying to insert just an image it kept giving me errors, so I had to put attachments in... about to lose my mind here. I'll attach a workbook so you have a better idea here.


    So it's not possible for me to restructure the data. I can't put it all in to one column. If you open the example workbook, you'll see I have names associated with the data.
    For example, I need that filter in the Letters box to search the sheet for any person that is associated with value 'a'. I can't just filter an individual column A or B..etc because that would leave out people that have 'a' in another column.

    If I'm understanding right, concentrating all the fields into one column to the side I don't think would achieve what I'm trying to do.


    excelHelpExample.xlsx

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to filter multiple columns with single fliter drop-down arrow

    Maybe something like this will work for you.

    Sometimes it pays to use Format Cells, Alignment, Horizontal, Center across selection instead of Merge and Center.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: How to filter multiple columns with single fliter drop-down arrow

    Haha, well does Newdoverman's solution help you?

    This is what I was talking about as a simple simple solution:

    excelHelpExample-W_concat.xlsx

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to filter multiple columns with single fliter drop-down arrow

    mikeTRON, concatenation would certainly be easy but the asker said something about not being able to restructure the data so, I really don't know what would be a suitable solution. The question to me isn't exactly clear.

  8. #8
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: How to filter multiple columns with single fliter drop-down arrow

    Yeah I saw that, but I wanted to show him anyways since it was a super simple solution.

    Can you do this type of search with an advanced filter? I have only used it once and my google searches are not coming back with the results I was hoping for.

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to filter multiple columns with single fliter drop-down arrow

    One can do a lot with the Advanced Filter but I haven't used it enough to know for sure. Logical criteria are used in the Criteria range so I suppose that anything might be possible.

    It's a good thought. Maybe someone here knows AF well enough to give a definitive answer.

  10. #10
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: How to filter multiple columns with single fliter drop-down arrow

    Hi

    mikeTRON is absolutely correct.
    If you want to consider all 4 columns at the same time, then a Concatenation column as he has shown will solve your problem.
    With Autofilter, just set the criterion to "contains a" and you will have all of the names selected that have an "a" in any of the 4 columns.
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  11. #11
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

  12. #12
    Registered User
    Join Date
    08-29-2013
    Location
    california
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to filter multiple columns with single fliter drop-down arrow

    I appreciate the responses. Yeah my Google searches came up with nothing either, surprised me.
    Your solutions are helpful, still not exactly what I'm trying to do. The concatenated column could work, but I'm not sure if I'll be able to add that to the worksheet.
    I'll look into advanced filtering more and do some research.

    Thanks again.

+ 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. Replies: 5
    Last Post: 05-25-2013, 07:12 AM
  2. Multiple drop dependant drop downs in single cell
    By LittleJerry in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-07-2012, 02:21 PM
  3. Generate single drop down from items in four columns
    By VishalGupta in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2011, 01:58 AM
  4. [SOLVED] How to change double arrow to single arrow (older version)
    By Ellen Hall in forum Excel General
    Replies: 2
    Last Post: 10-30-2005, 02:05 AM
  5. [SOLVED] How can I change the color of the drop down arrow on a filter?
    By Stique in forum Excel General
    Replies: 2
    Last Post: 08-08-2005, 11:41 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