+ Reply to Thread
Results 1 to 3 of 3

Not Match Formula

  1. #1
    Registered User
    Join Date
    06-17-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    42

    Not Match Formula

    Could you please help to make a formula that cell G2 does not match either value in cell D6 to D22 (opposite to = MATCH($G2,'List box'!$D$6:$D$22,0). Thank you.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,131

    Re: Not Match Formula

    if it does not match then you get an #N/A

    so if you use

    iserror (MATCH($G2,'List box'!$D$6:$D$22,0))
    will give a true
    or
    iferror(MATCH($G2,'List box'!$D$6:$D$22,0), "what you would like when an error")

    what result do you want when there is not a match ?
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Not Match Formula

    Try this array formula

    =INDEX('List box'!$D$6:$D$22,SMALL(IF('List box'!$D$6:$D$22<>G$2,ROW('List box'!$D$6:$D$22)-ROW('List box'!$D$6)+1),ROWS($D$6:D6)))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Last edited by AlKey; 03-06-2015 at 05:02 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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: 1
    Last Post: 10-06-2014, 02:13 PM
  2. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  3. array match formula fails but simple match works
    By dimwit in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2014, 07:30 PM
  4. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  5. Replies: 5
    Last Post: 02-29-2012, 08:51 PM

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