+ Reply to Thread
Results 1 to 8 of 8

Filtering data in one column using data from other column

  1. #1
    Registered User
    Join Date
    08-20-2020
    Location
    Czechia
    MS-Off Ver
    2016
    Posts
    3

    Filtering data in one column using data from other column

    Hello!

    I have table that looks like this

    Name Category Value
    Martin Car YES
    Peter Car YES
    Peter Bike NO
    Mark Car NO
    Mark Bike YES
    Max Car NO
    Max Bike NO
    Kenny Car NO
    Kenny Bike YES
    Kenny Boat NO

    I need to filter this table so I will only find people, who only have NOs in all categories. In this example I need filter that will only show me Max.

    Is there some way to achieve that? Thank you for help!

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Filtering data in one column using data from other column

    Hi

    Select your data and use 'Format as table' or 'Insert Table' or use 'filter' from the menu.
    Is that what you want?

    See the file
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-20-2020
    Location
    Czechia
    MS-Off Ver
    2016
    Posts
    3

    Re: Filtering data in one column using data from other column

    No, unfortunately. Maybe I didn't explained it well. Sorry, english is not my native language.

    I know how to use basic filters, but they can't help me in this case. I have huge amount of data in table I am working with. Probably around 50 000 people. And I need to filter only those people, who have NO in every category they have.
    As I said on the original post - Martin has YES in Car category, i don't need him to be shown. Peter has NO in bike category, but YES in car category, i don't need him to be shown. And so on. I could use filter to hide all YESes, but then it would also show me people who have NO in some category and YES in other. That's not what I need. I need to see only people, who have NO in all categories. Like Max - he has NO in car cathegory and NO in bike cathegory. And he dosn't have any other category assigned - that's exactly one of people i need to find.

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Filtering data in one column using data from other column

    See if this help.
    Try with a helper column E
    Use the following formula and filter by that column
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the file
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Filtering data in one column using data from other column

    With your post #1 data in cols A, B, C, the following helper column when filtered for TRUE leaves just Max per your expected results.
    In D2 copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The formula returns TRUE if the number if times a person is mentioned in col-A is equal to the number of NOs for that same person.
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  6. #6
    Registered User
    Join Date
    08-20-2020
    Location
    Czechia
    MS-Off Ver
    2016
    Posts
    3

    Re: Filtering data in one column using data from other column

    Yes, that worked perfectly. Thanks both of you, you've been really helpful. Marking thread as solved.

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Filtering data in one column using data from other column

    You are welcome.

    Thank you for the feedback and rep.

  8. #8
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Filtering data in one column using data from other column

    No problem - thanks for the feedback and reputation points.

+ 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] Filtering data and making a new column
    By Kdot in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-28-2017, 05:45 PM
  2. Replies: 2
    Last Post: 08-08-2014, 06:05 AM
  3. [SOLVED] Need help filtering data by filtering based on the last digit of a column/true statement
    By Stephen R in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2014, 07:43 AM
  4. Automatically filtering..from a row data-column
    By Sokol in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-15-2013, 07:52 AM
  5. Replies: 2
    Last Post: 11-28-2011, 06:10 PM
  6. Filtering data by a Criteria column
    By v282788 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2008, 02:28 PM
  7. Data Filtering: uniqueness one column only?
    By bransom in forum Excel General
    Replies: 1
    Last Post: 01-04-2008, 08:28 PM

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.6.0 RC 1