+ Reply to Thread
Results 1 to 4 of 4

Comparing two columns of data and returning the values that do NOT appear in both columns

  1. #1
    Registered User
    Join Date
    04-22-2014
    Location
    New Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    2

    Comparing two columns of data and returning the values that do NOT appear in both columns

    Hello,

    Thanks for the welcoming e-mail.

    I have an attendance sheet that employees scan their badge number, and returns their name and time/date stamp using a simple VLOOKUP.

    I want to create a report that compares the names in the attendance sheet against the all the names in the master sheet, and only returns the names that have not attended the training.

    I have tried a few test formulas using COUNTIF function, but with no luck.

    I have attached an example. Use the worksheet labeled April 2014 A (2nd shift)

    Thanks in advance for your ideas!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Comparing two columns of data and returning the values that do NOT appear in both colu

    Maybe like this (and filter on #N/B)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    04-22-2014
    Location
    New Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Comparing two columns of data and returning the values that do NOT appear in both colu

    Thank you! I learned something new! However, I am still having trouble with a solution. Your example only works if the same employee name that attended the training is in the same row in your master sheet. In reality, employees will never scan in their badges in alphabetical order. In other words, the name listing in Column B will not match the name listing in Column F. I was hoping for a solution that can cross reference the listing of Column B against Column F, and return ONLY the names that do not appear in both columns. If you have another idea for this, I would be grateful.

    Jason

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Comparing two columns of data and returning the values that do NOT appear in both colu

    OK, another formula.

    =IF(MATCH($E2,$A$4:$A$179,0)>0;"yes";"no")

    See the attached file.

+ 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. [SOLVED] Comparing two columns and returning the number of cells in one column with higher values
    By heresteve2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-08-2014, 01:06 PM
  2. Replies: 19
    Last Post: 03-15-2014, 04:50 PM
  3. Comparing 2 columns and returning a value of a 3rd column
    By usmc0331 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-17-2013, 10:55 AM
  4. Comparing columns and returning several values in to one row.
    By Chemgeorge in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-20-2010, 08:40 PM
  5. Comparing 2 or more columns and returning a true value
    By stujordan in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-10-2009, 08:46 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