+ Reply to Thread
Results 1 to 4 of 4

how to compare data in one formula

  1. #1
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    how to compare data in one formula

    Dear all,

    suddenly my formula i got earlier stopped working
    as per attached i am trying to find similarites

    if B2,C2 got any match along D and E as per yellow cells

    then copy value from F into A (example as in A14)

    i am using this formula
    =IFERROR(INDEX(F$2:F$19,MATCH(B2&C2,D$2:D$19&E$2:E$19,0)),"")

    but is not working,
    please how to solve this

    thank for usual help
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: how to compare data in one formula

    It's an array formula. You need to enter it with Ctrl-Shift-Enter, not just Enter. You will see curly brackets ({})if you've done it correctly.


    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: how to compare data in one formula

    Or change it to:

    =IFERROR(INDEX(F$2:F$19, MATCH(B2&C2, INDEX(D$2:D$19&E$2:E$19,,),0)),"")

    and comfirm with normal enter

  4. #4
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    Re: how to compare data in one formula

    Quote Originally Posted by TMShucks View Post
    It's an array formula. You need to enter it with Ctrl-Shift-Enter, not just Enter. You will see curly brackets ({})if you've done it correctly.


    Regards
    How did i miss that
    yes it works, thanks a lot

+ 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