+ Reply to Thread
Results 1 to 5 of 5

Not Equal To Multiple Criteria

  1. #1
    Forum Contributor
    Join Date
    10-24-2012
    Location
    Chicago
    MS-Off Ver
    O365
    Posts
    311

    Not Equal To Multiple Criteria

    Hello,

    I have this formula below where I am trying to build a data validation list based off of a set of data within a file. Currently the formula below is excluded any item that is showing with a "Gross" designation. I need to add more criteria to exclude. Is there an easy way I am not seeing? I need <>"Gross"; <>"Specialty"; <>"Fixed; <>"% in lieu". I would like to avoid having the formula get much larger than it already is and was hoping there was a way to just string the <> to's together in the existing formula somehow?

    =IF(IFERROR(INDEX('Tenant Tax Recovery Summary'!$B$8:$B$10000,AGGREGATE(15,6,(ROW('Tenant Tax Recovery Summary'!$B$8:$B$10000)-ROW('Tenant Tax Recovery Summary'!$B$8)+1)/('Tenant Tax Recovery Summary'!$E$8:$E$10000<>"Gross"),ROWS(AL$4:AL5))),"")=0,"",IFERROR(INDEX('Tenant Tax Recovery Summary'!$B$8:$B$10000,AGGREGATE(15,6,(ROW('Tenant Tax Recovery Summary'!$B$8:$B$10000)-ROW('Tenant Tax Recovery Summary'!$B$8)+1)/('Tenant Tax Recovery Summary'!$E$8:$E$10000<>"Gross"),ROWS(AL$4:AL5))),""))

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Not Equal To Multiple Criteria

    Try this untested...

    Put your key words (Gross Specialty Fixed etcc) in a range of cells, say Z1:Z4
    Then replace both instances of
    ('Tenant Tax Recovery Summary'!$E$8:$E$10000<>"Gross")
    With
    (ISNA(MATCH('Tenant Tax Recovery Summary'!$E$8:$E$10000,$Z$1:$Z$4,0)))

  3. #3
    Forum Contributor
    Join Date
    10-24-2012
    Location
    Chicago
    MS-Off Ver
    O365
    Posts
    311

    Re: Not Equal To Multiple Criteria

    That worked like a champ! Thanks!

  4. #4
    Forum Contributor
    Join Date
    10-24-2012
    Location
    Chicago
    MS-Off Ver
    O365
    Posts
    311

    Re: Not Equal To Multiple Criteria

    Here is the adjusted formula.

    =IF(IFERROR(INDEX('Tenant Tax Recovery Summary'!$B$8:$B$10000,AGGREGATE(15,6,(ROW('Tenant Tax Recovery Summary'!$B$8:$B$10000)-ROW('Tenant Tax Recovery Summary'!$B$8)+1)/(ISNA(MATCH('Tenant Tax Recovery Summary'!$E$8:$E$10000,$AP$4:$AP$11,0))),ROWS(AL$4:AL4))),"")=0,"",IFERROR(INDEX('Tenant Tax Recovery Summary'!$B$8:$B$10000,AGGREGATE(15,6,(ROW('Tenant Tax Recovery Summary'!$B$8:$B$10000)-ROW('Tenant Tax Recovery Summary'!$B$8)+1)/(ISNA(MATCH('Tenant Tax Recovery Summary'!$E$8:$E$10000,$AP$4:$AP$11,0))),ROWS(AL$4:AL4))),""))

    Where AP4 through AP11 contains Gross, Specialty, Fixed, % in lieu, CAMB, TOE, Direct and Anchor.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Not Equal To Multiple Criteria

    You're welcome.

+ 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. COUNTIF for "not equal to" with multiple criteria
    By crayhons in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-11-2013, 10:33 AM
  2. [SOLVED] If not equal to multiple criteria/worksheets
    By ANDREWA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2012, 12:02 PM
  3. [SOLVED] Using Index/Match (Equal or less than) with Multiple Criteria
    By Padal in forum Excel General
    Replies: 4
    Last Post: 07-06-2012, 05:10 PM
  4. Can I Rank on a second criteria if the first is equal?
    By CohenRB in forum Excel General
    Replies: 3
    Last Post: 06-23-2006, 09:00 AM
  5. Sum for lines equal to criteria
    By rfhorn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-28-2005, 09:06 AM

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