Consulting

Results 1 to 5 of 5

Thread: count no. of matching data in two excel

  1. #1

    count no. of matching data in two excel

    Hi,

    I've 2 excels - Excel 1, column C has 500 student IDs and Excel 2, column Y has 300 student ids. Likewise i've the data in 6 sheets in both excel.

    I want to know how many no. of student id as given in excel 1 is present in excel 2 in every sheets..

    Please help

  2. #2
    VBAX Tutor mohanvijay's Avatar
    Joined
    Aug 2010
    Location
    MADURAI
    Posts
    268
    Location
    use COUNTIF or SUMPRODUCT function

  3. #3
    VBAX Expert shrivallabha's Avatar
    Joined
    Jan 2010
    Location
    Mumbai
    Posts
    750
    Location
    You should use VLOOKUP to find this out.
    Here's a reference for it:
    http://office.microsoft.com/en-us/ex...005209335.aspx
    Regards,
    --------------------------------------------------------------------------------------------------------
    Shrivallabha
    --------------------------------------------------------------------------------------------------------
    Using Excel 2016 in Home / 2010 in Office
    --------------------------------------------------------------------------------------------------------

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    SUMPRODUCT dear Henry, SUMPRODUCT

    =SUMPRODUCT(--(ISNUMBER(MATCH(Sheet1!A1:A20,Sheet2!A1:A20,0))))
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Tutor mohanvijay's Avatar
    Joined
    Aug 2010
    Location
    MADURAI
    Posts
    268
    Location
    or like this

    =SUMPRODUCT(--(COUNTIF(Sheet2!A1:A20,Sheet1!A1:A20)>0))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •