+ Reply to Thread
Results 1 to 12 of 12

Match two category

  1. #1
    Registered User
    Join Date
    12-20-2011
    Location
    RIYADH
    MS-Off Ver
    Excel 2007
    Posts
    99

    Red face Match two category

    Dear Friends,
    here i have attached an excel sheet , that there are two schedules 1- ID NO# 2- Name, if both matched with another Name & ID, the answer should be "YES", or No,
    Can you give me an Ideas to solve it Please.

    rGRDS.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Match two category

    Enter with Ctrl + Shift + Enter and drag it down

    =IF(ISNUMBER(MATCH(C14&D14,$C$5:$C$9&$D$5:$D$9,0)),"Yes","No")

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Match two category

    in f14 dragged down
    =IF(ISNUMBER(MATCH(C14&D14,INDEX($C$5:$C$9&$D$5:$D$9,0),0)),"yes","no")
    no Ctrl + Shift + Enter needed
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Match two category

    Hi my proposition in attachment (array formula)
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  5. #5
    Registered User
    Join Date
    12-20-2011
    Location
    RIYADH
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Match two category

    Thank U Brother, its doing good

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Match two category

    what is the point of an array formula when there is a perfectly good non array one?

  7. #7
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Match two category

    Maybe someone start to learn a array solutions from this example? (a few months before I did not know that such solution exist). Beside I did not meet yet person how knows everything and every solutions.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Match two category

    I'd welcome your test results, martin, but doubt that a formula that adds a function just to avoid confirming with CSE is faster than than the formula without it.
    Entia non sunt multiplicanda sine necessitate

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Match two category

    nothing to do with that,better people than me have advised against unnecessary arrays, nothing to do with speed just the point that they are not obvious and people come along later and cant fathom them out.
    from ms office help
    by
    By Colin Wilcox
    and John Walkenbach

    Disadvantages of using array formulas

    Array formulas can work what seems like magic, but they also have some disadvantages:

    You may forget to use CTRL+SHIFT+ENTER. Remember to press those keys whenever you enter or edit an array formula.
    Other users may not understand your formulas. Array formulas are relatively undocumented, so if other people need to modify your workbooks, you should either avoid array formulas or make sure they understand how to change them.
    Depending on the speed of your system, large array formulas can slow down calculations.

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Match two category

    It seems to me they are less likely to understand the rationale for the index function that appears to be doing nothing.

  11. #11
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Match two category

    well we must disagree then

  12. #12
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Match two category

    The real question is "How are we going to determine who is correct?" since we all know that both Texans and Brits are never wrong. (Sorry for the temporary derailment/hijacking. I'll ban myself shortly.)

+ 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