+ Reply to Thread
Results 1 to 7 of 7

Finding a closest match with more than one criteria

  1. #1
    Registered User
    Join Date
    08-10-2011
    Location
    Melbourne
    MS-Off Ver
    Excel 2002
    Posts
    9

    Question Finding a closest match with more than one criteria

    Hi There,

    I'm having a problem and hoping to get some help. I've got the attached data and I want to use a formula to find the closest case (Person_ID) or cases to the ideal. In the attached table it would be Person_ID 1002 but I need to use a formula or something to find.


    Thank in advance.

    Jayana
    Attached Files Attached Files
    Last edited by Jayana; 08-15-2011 at 06:44 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Finding a closest match with more than one criteria

    Maybe...

    Please Login or Register  to view this content.
    Ctrl+Shift+Enter not only Enter.
    Last edited by HSV; 08-10-2011 at 08:32 PM.
    Kind regards, Harry.

  3. #3
    Registered User
    Join Date
    08-10-2011
    Location
    Melbourne
    MS-Off Ver
    Excel 2002
    Posts
    9

    Exclamation Re: Finding a closest match with more than one criteria

    Thank Harry.

    It works but once I make any changes - either ideal or values in one of the rows, it does not work any more. Any idea?


    Regards,

    Jayana

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Finding a closest match with more than one criteria

    Hello Jayana,

    Try this in B14 & copy across.

    =INDEX($A$2:$A$6,MATCH(MAX(INDEX((B$2:B$6<B13)*B$2:B$6,0)),B$2:B$6,0))
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  5. #5
    Registered User
    Join Date
    08-10-2011
    Location
    Melbourne
    MS-Off Ver
    Excel 2002
    Posts
    9

    Exclamation Re: Finding a closest match with more than one criteria

    Hi Haseeb,

    A brilliant idea. However when I copy across I got more than one Person_IDs while
    I need to find ony one person who has the matched/closest criteria (all three).


    Regards,

    Jayana

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Finding a closest match with more than one criteria

    Perhaps something along the lines of:

    Please Login or Register  to view this content.
    Note the Array entry requirement. If the Array has been set correctly the above formula will appear encased within {}

  7. #7
    Registered User
    Join Date
    08-10-2011
    Location
    Melbourne
    MS-Off Ver
    Excel 2002
    Posts
    9

    Smile Re: Finding a closest match with more than one criteria

    Hi DonkeOte,

    Brilliant! That is exactly what I'm after.
    Many thank for your help and recommendation.

    Regards,
    Jayana

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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