+ Reply to Thread
Results 1 to 2 of 2

Using filters for passing multiple criterias

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    Szentendre, Hungary
    MS-Off Ver
    Excel 2003
    Posts
    78

    Using filters for passing multiple criterias

    Hi guys,

    I have a huge database, and I'm using a lot of switches (filters) to filter rows. I can't figure out a formula for the following filter.
    There are two columns: a status (1st, 2nd, 3rd and so on, even zero status which are the rest), and the second column is value. Value is connected to the status column. The higher the value, lower at status.

    And I want a drop-down filter in the first row of my big excel database, which I show it in the JPG file.
    Here's how it works:

    - 1: select every 1st status IF the value is higher than "0"
    - 2: select every 2nd status IF the value is higher than "0"
    - 3: select every 3rd status IF the value is higher than "0"
    - 1+2: select every 1st AND 2nd status AND IF the value is higher than "0". (So if the 1st or 2nd status' value is "0", then it should be "leave", no matter the status was 1st or 2nd)
    - 1+3: select every 1st AND 3rd (but NOT 2nd) status AND IF the value is higher than "0". (So if the 1st or 3rd status' value is "0", then it should be "leave", no matter the status was 1st or 3rd)
    - 2+3: select every 2nd AND 3rd (but NOT 1st) status AND IF the value is higher than "0". (So if the 2nd or 3rd status' value is "0", then it should be "leave", no matter the status was 2nd or 3rd)
    - 1+2+3: select every 1st AND 2nd AND 3rd status AND IF the value is higher than "0". (So if the 1st, 2nd or 3rd status' value is "0", then it should be "leave", no matter the status was 1st, 2nd or 3rd)
    - 0: select every other than 1st, 2nd or 3rd AND select 1st, 2nd or 3rd status IF the value is equal to "0". (So: select every other than 1st, 2nd, 3rd (it can be 4th or 0th) PLUS 1st, 2nd, 3rd with 0 values)
    - all: select every rows

    I hope, I could write down the criterias well and understandable. If it is not clear, please, let me know, and I'll try to write better.

    I attached a JPG and an example excel file.

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-04-2013
    Location
    Szentendre, Hungary
    MS-Off Ver
    Excel 2003
    Posts
    78

    Re: Using filters for passing multiple criterias

    I have to admit, I tried to solve this on my own.

    This is how so far I got.

    Please Login or Register  to view this content.
    But it is not treat that if a status number is okay but has zero value.

+ 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. VBA/MACRO for Auto detecting rows with items passing certain criterias
    By acerlaptop in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-17-2020, 04:07 AM
  2. Sumproduct of multiple column (same row) that meet multiple criterias
    By dirdjo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-28-2016, 03:57 AM
  3. [SOLVED] Searching Multiple Criterias and Returning Multiple Results
    By boaesh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-13-2014, 11:02 AM
  4. Replies: 0
    Last Post: 02-02-2014, 08:42 AM
  5. [SOLVED] Populate Values in Multiple List Boxes based on Multiple Criterias
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-09-2013, 11:39 AM
  6. Replies: 4
    Last Post: 07-24-2012, 01:21 PM
  7. Replies: 2
    Last Post: 07-12-2010, 01:17 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