+ Reply to Thread
Results 1 to 5 of 5

Match two ranges are return Yes or No

  1. #1
    Registered User
    Join Date
    10-07-2017
    Location
    London
    MS-Off Ver
    365
    Posts
    12

    Match two ranges are return Yes or No

    Evening all, I am looking for some help if possible as i can not find the solution to my requirements online. I am OK with the basics but what i need is a little more complicated. Please excuse my explaining of what i am trying to do. I have attached an example of data to hopefully make better sense.

    OK, so i have 2 worksheets, both have the same format data, A:A is month and year, B:B is a number. In sheet1 i need to find B1 in sheet2 B:B. I then need to know if found if sheet1 A1, matches the data in sheet2 A:A based on the result from the first result.

    Thank you all in advance.
    Mart
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: IF and vLOOKUP

    How about in C3 copied down...

    =IF(ISNUMBER(MATCH(A3&B3,$E$3:$E$8&$F$3:$F$8,0)),"Yes","No")

    IMPORTANT
    • This is an array formula
    • Enter the formula >> press F2 then >> CTRL + SHIFT + ENTER
    • If entered correctly, the formula will be enclosed in {brackets}
    • Do not enter the {brackets} manually
    HTH
    Regards, Jeff

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Match two ranges are return Yes or No

    In C3 and fill down

    =IFERROR(IF(INDEX($E$3:$E$8,MATCH(B3,$F$3:$F$8,0))=A3,"Yes","No"),"NA")

  4. #4
    Registered User
    Join Date
    10-07-2017
    Location
    London
    MS-Off Ver
    365
    Posts
    12

    Re: Match two ranges are return Yes or No

    Thank you Jeff and Jason, both work

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Match two ranges are return Yes or No

    We are happy to help and you're welcome.

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

+ 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. Search Two Ranges for Match, Return Data on Same Row or Another Row
    By tbone812 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-02-2018, 02:42 AM
  2. [SOLVED] Use 2 Different Named Cell Ranges To Return Values From 1 Of the Ranges In Formula
    By DESSTRO in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-20-2017, 08:37 PM
  3. Replies: 4
    Last Post: 04-28-2017, 03:24 AM
  4. MATCH value to multiple ranges and return different VLOOKUP column index
    By orvikon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-05-2017, 06:22 PM
  5. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  6. [SOLVED] Return value if within range, return multiple values if ranges overlap
    By cde1983 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-17-2013, 06:16 AM
  7. Replies: 2
    Last Post: 08-16-2013, 10:18 AM

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