+ Reply to Thread
Results 1 to 14 of 14

Formula Help for isolating two columns based on NO MATCH

  1. #1
    Registered User
    Join Date
    04-01-2023
    Location
    Canada
    MS-Off Ver
    Microsoft Office 365
    Posts
    30

    Formula Help for isolating two columns based on NO MATCH

    Hi there,

    I have uploaded my test excel.

    I am looking to pull table data from column's B & C into a separate table only if the adjacent value in column A reads FALSE.

    The end goal is to have a two-column table that returns the values in column B & C where the where there is NO MATCH in columns B & D. The common values to search would be in columns B & D, but I don't know how to filter out the matches and only show the non matches while ensuring the data in column B & C are tied together when being returned.

    As one can see, I have created column A with the formula ISNUMBER(MATCH(B2,$D:$D,0)) that looks for whether a match is exists in columns B & D with TRUE meaning there is and FALSE meaning there isn't. I could just filter from all "FALSE " data in column A whenever I want to see that data, but I would rather it have its own tab (EG. "NO HISTORY") where it automatically populates the values in column B that have no matches (along with adjacent column C).

    Any help would be appreciated!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Help for isolating two columns based on NO MATCH

    Try this:

    =FILTER(B2:C37,ISNUMBER(MATCH(B2:B37,D2:D37,0)))

    Or, for the inverse:

    =FILTER(B2:C37,NOT(ISNUMBER(MATCH(B2:B37,D2:D37,0))))
    Last edited by AliGW; 02-14-2024 at 04:31 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Help for isolating two columns based on NO MATCH

    I used longer ranges, but irritatingly there are SPACES in every "empty" cell in columns B & C

    =LET(A,TRIM('DATA ENTRY '!B2:C100),FILTER(A,(INDEX(A,,1)<>"")*ISERROR(MATCH(INDEX(A,,1),'DATA ENTRY '!D:D,0))))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    04-01-2023
    Location
    Canada
    MS-Off Ver
    Microsoft Office 365
    Posts
    30

    Re: Formula Help for isolating two columns based on NO MATCH

    Thanks for the reply! This returns a table of the matches in columns B&D.

    I am looking to have the unmatched values in column B (and adjacent column C) return when compared against column D return into a table.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Help for isolating two columns based on NO MATCH

    Try the second formula I suggested.

  6. #6
    Registered User
    Join Date
    04-01-2023
    Location
    Canada
    MS-Off Ver
    Microsoft Office 365
    Posts
    30

    Re: Formula Help for isolating two columns based on NO MATCH

    Thank you again, this worked as spill formula. Ideally, I would like the blank cells in between to disappear and have it come up as its own table.

  7. #7
    Registered User
    Join Date
    04-01-2023
    Location
    Canada
    MS-Off Ver
    Microsoft Office 365
    Posts
    30

    Re: Formula Help for isolating two columns based on NO MATCH

    Wow, this works exactly! I had spaces in those cells to remove the 0's that appeared on another sheet in previous formula trials that were unsuccessful. I will remove these.

    You're a magician! How many years did it take you to learn how to do this so quickly??

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Help for isolating two columns based on NO MATCH

    Glenn told you about that - get rid of the space characters in the 'empty' cells in B and C.

    Or use this:

    =LET(f,FILTER(B2:C37,NOT(ISNUMBER(MATCH(B2:B37,D2:D37,0)))),FILTER(f,INDEX(f,,1)<>" "))
    Last edited by AliGW; 02-14-2024 at 05:04 AM. Reason: Added suggestion.

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Help for isolating two columns based on NO MATCH

    The formula I used, gets rid of them by formula, but it's better to return BLANKS, not SPACES from the other formula, that you didn't include.

    then this can be used:

    =LET(A,'DATA ENTRY '!B2:C100,FILTER(A,(INDEX(A,,1)<>"")*ISERROR(MATCH(INDEX(A,,1),'DATA ENTRY '!D:D,0))))

  10. #10
    Registered User
    Join Date
    04-01-2023
    Location
    Canada
    MS-Off Ver
    Microsoft Office 365
    Posts
    30

    Re: Formula Help for isolating two columns based on NO MATCH

    Quote Originally Posted by Glenn Kennedy View Post
    The formula I used, gets rid of them by formula, but it's better to return BLANKS, not SPACES from the other formula, that you didn't include.

    then this can be used:

    =LET(A,'DATA ENTRY '!B2:C100,FILTER(A,(INDEX(A,,1)<>"")*ISERROR(MATCH(INDEX(A,,1),'DATA ENTRY '!D:D,0))))

    This is incredible. Thank you a ton

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Help for isolating two columns based on NO MATCH

    Did you see post #8?

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Help for isolating two columns based on NO MATCH

    Attached is a workbook showing both my and Glenn's solutions side-by-side. They do the same thing, although mine gets rid of blank rows and Glenn's does not.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    04-01-2023
    Location
    Canada
    MS-Off Ver
    Microsoft Office 365
    Posts
    30

    Re: Formula Help for isolating two columns based on NO MATCH

    Quote Originally Posted by AliGW View Post
    Glenn told you about that - get rid of the space characters in the 'empty' cells in B and C.

    Or use this:

    =LET(f,FILTER(B2:C37,NOT(ISNUMBER(MATCH(B2:B37,D2:D37,0)))),FILTER(f,INDEX(f,,1)<>" "))

    I did miss it but this works also! You're a wizard too! Thank you very much. I honestly have no clue what I'm reading between both formulas that work but both results are exactly what I'm looking for. I'm looking for some solid beginner courses for excel. I need to learn the language.

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Help for isolating two columns based on NO MATCH

    This makes it scalable:

    =LET(f,FILTER(B2:C500,NOT(ISNUMBER(MATCH(B2:B500,D2:D500,0)))),FILTER(f,(INDEX(f,,1)<>" ")*(INDEX(f,,1)<>0)))

    Just hang out here - that's how I learn.

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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] Need a formula to pull site info from based on a match in the next columns
    By PlebBrain in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-01-2022, 06:41 AM
  2. [SOLVED] Formula for isolating data within a cell and copying it over to the adjacent column
    By the_red_engine in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2021, 01:58 AM
  3. Using index match based on two match criteria in different columns
    By LearningByError in forum Excel General
    Replies: 2
    Last Post: 08-02-2018, 01:57 PM
  4. Replies: 4
    Last Post: 04-14-2017, 07:47 PM
  5. Isolating Duplicates - Multiple Columns
    By tjm1987 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-19-2013, 10:31 AM
  6. Replies: 6
    Last Post: 09-11-2013, 03:24 AM
  7. Replies: 6
    Last Post: 12-10-2012, 06:26 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