+ Reply to Thread
Results 1 to 4 of 4

Matching data 2 cells in 2 sheets

  1. #1
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Matching data 2 cells in 2 sheets

    Hi
    is it possible to provide a formula to match as per the uploaded file.
    Data in Sheet one columns A and B, compared to what is in Sheet two column A
    I have a lot of data, and only need a Y for yes, and N for No as a result.
    thanks
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Matching data 2 cells in 2 sheets

    In C2 Cell of One Sheet

    =IF(COUNTIFS(TWO!A:A,A2,TWO!B:B,B2),"Y","N")

    Drag it down...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Matching data 2 cells in 2 sheets

    =IFERROR(IF(VLOOKUP(A2,TWO!A$2:B$7,2,0)=B2,"Y","N"),"N")
    Try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    07-09-2014
    Location
    Jaipur
    MS-Off Ver
    2010
    Posts
    4

    Re: Matching data 2 cells in 2 sheets

    Hi Christopherdj,

    Please use this

    =IF(AND(ISNA(VLOOKUP(A2,TWO!$A:$A,1,0))=FALSE,ISNA(VLOOKUP(B2,TWO!B:B,1,0))=FALSE),"Yes","No")

+ 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. Indexing and matching cells across two sheets
    By Rebecca Gillon in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-27-2013, 11:18 AM
  2. Matching cells' name with the name of sheets
    By Oxco in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-23-2013, 06:27 PM
  3. [SOLVED] Matching Cells from two seperate sheets of excel data while creating a third sheet
    By TobyJoel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-26-2012, 04:29 PM
  4. Replies: 1
    Last Post: 04-23-2012, 01:34 PM
  5. Replies: 4
    Last Post: 10-06-2011, 12:57 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