+ Reply to Thread
Results 1 to 7 of 7

List of items that do not have certain values in the next column

  1. #1
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    List of items that do not have certain values in the next column

    Hello Excel Dynamo's

    Looking to extract a list of the items in Col. A that do not have a 61 OR 62 in the corresponding Location column B next to it.

    In this case, the answer would be 6587

    There are about 200k line items. See attachment for a sample of the data.

    Thank you for all ideas, large and small.

    Pete
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: List of items that do not have certain values in the next column

    =iferror(index(a:a,aggregate(15,6,row($b$2:$b$27)/($b$2:$b$27<>61)/($b$2:$b$27<>62),rows($g$1:g1))),"")

  3. #3
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: List of items that do not have certain values in the next column

    Hi tim201110:
    I placed it into F1 and copied down, it returned all the values in Col. A.

    Got a plan B?

    Thank you.
    Pete

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: List of items that do not have certain values in the next column

    For 200k Rows Array formula will be really slow.

    Please try with Power Query and

    Create Table1
    Open Power Query/Get and Transform. Click on New Query.
    Open blank query in the editor, launch Advanced Editor and paste in the following code.

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

  5. #5
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: List of items that do not have certain values in the next column

    I apologize if I wasn't clear. I'm looking for a list of the items in column A that do not have a corresponding presence on column B that is either equal to 61, or 62.

    4578 (A2:A8)does, so 4578 would not be on the list
    6587 (A9:A17) does not have 61 or 62 in column B, so that will be on the list
    ASOR45 (A18:A27) does have 61 and 62 present, so ASOR45 would not be on the list.

    Thanks again.
    Pete

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: List of items that do not have certain values in the next column

    Please try

    Please Login or Register  to view this content.
    or Slow array formula

    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($A$2:$A$27)/ISNA(MATCH($A$2:$A$27,IF(ISNUMBER(MATCH($B$2:$B$27,{61,62},)),$A$2:$A$27),)),ROWS(J$2:J2))),"")
    Attached Files Attached Files
    Last edited by Bo_Ry; 04-07-2020 at 02:27 PM.

  7. #7
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: List of items that do not have certain values in the next column

    Bo_Ry:

    Looks super grande!! Thanks so much. And thank you tim201110 for the use of your grey matter as well.

    Pete

+ 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: 10
    Last Post: 01-02-2019, 04:14 PM
  2. button click to move selected multi-column list box items to new list box
    By kranic3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2017, 08:34 AM
  3. [SOLVED] Formula to compare column 1 to column 2 and list items not in column 2.
    By mahalek1976 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-23-2016, 12:55 PM
  4. [SOLVED] To compare a list of items in column ? with items in all columns that are not blank.
    By JamesJohnson31 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-03-2015, 03:32 PM
  5. [SOLVED] Counting Occurrences of Items in a List Based on Separate List Values
    By wheel1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-10-2013, 01:04 PM
  6. [SOLVED] List unmatched items in 3rd column & sum matched items in 4th column
    By sharonvining in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-12-2012, 03:24 PM
  7. How to sum List items and separate column values into new worksheets.
    By JoelBooth in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2011, 11:16 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