• Comparing 2 Files

    Author
    Topic
    #1769639

    I’m trying to determine if I have duplicate information on 2 separate files. An ex-colegue once showed me how to use VLook Up to identify cell content that is on both files (but I can’t remember how to do this). Here’s the situation…I’ve employee names that I want to know are the same on file 1 and file 2.

    Thanks,
    Nancy

    Viewing 1 reply thread
    Author
    Replies
    • #1784066

      The last parameter of Vlookup is Range_Lookup. If it is set to false then you need an exact match to return a result. Something like
      =vlookup(testname,matchlist,1,false)
      If you name is there then you get at match else you get an error.

    • #1784098

      Another trick might be to use something equivalent to

      =IF(COUNTIF(Sheet1!$A$1:$A$8;A1)>0;A1;””)

      Here I assumed that one list is in the range A1:A8 on Sheet1 and the other list is e.g. in the range A1:A20 on sheet2. Now, fill in the formula above on the cell B1 on sheet2. Fill down the cells by copying this formula to the cells B2 up to B20. If the cell content of each cell on sheet2 appears in the list on sheet1, this formula will display the cell contents of the corresponding cell in column A and will leave the cell empty if not present in the first list.

    Viewing 1 reply thread
    Reply To: Comparing 2 Files

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: