+ Reply to Thread
Results 1 to 5 of 5

Look up or match a name or license number in two different worksheets

  1. #1
    Registered User
    Join Date
    12-18-2015
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    2

    Look up or match a name or license number in two different worksheets

    Hi,

    I have a spreadsheet containing the names and license numbers of 400 people...let's say, employees; then I have another spreadsheet with the names and license numbers of 300 individuals whose licenses have been canceled. I need to compare the two lists to see if any employees are among the list of canceled licenses. I'd appreciate any recommendations for what function to use for this.

    Thanks!
    Queen

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,736

    Re: Look up or match a name or license number in two different worksheets

    You could use MATCH to compare your 400 with the 300

    For example

    in B2 ...

    =IFERROR(MATCH(A2,Sheet2!A2:A300,0),"Matched",""))

    Matching A2 on Sheet1 with list on Sheet2 in Column A

    Copy formula down

  3. #3
    Registered User
    Join Date
    12-18-2015
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    2

    Re: Look up or match a name or license number in two different worksheets

    I tried the formula, but something went wrong. In case more specific information would be helpful, in Sheet 1, I have license numbers in Column A, rows 2 through 346, and in Sheet 2, I have license numbers in Column A, rows 2 through 386.

    I need to know if any of the license numbers listed in Sheet 1 A2:A346 are also listed in Sheet 2, A2:A386

    Thanks for any help!

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,736

    Re: Look up or match a name or license number in two different worksheets

    Try

    =IFERROR(IF(MATCH(A2,Sheet2!$A$2:$A$315,0),"Matched",""),"")

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Look up or match a name or license number in two different worksheets

    Another way. Array-entered in C2 of the attached and filled down until you get blanks.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    You can adjust the INDEX range to include the names. I just "dummied" the numbers.
    Dave

+ 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. office365 license
    By mrkhchan in forum Office 365
    Replies: 3
    Last Post: 02-17-2015, 05:18 AM
  2. license fro excel
    By hasanpmp in forum Excel General
    Replies: 1
    Last Post: 05-15-2014, 12:42 PM
  3. Can I get a Run time license??
    By jerryjaysr in forum Excel General
    Replies: 2
    Last Post: 09-16-2010, 03:16 PM
  4. license box accept
    By sherrysue11 in forum Excel General
    Replies: 0
    Last Post: 07-20-2006, 09:45 AM
  5. License addin
    By gabch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2006, 04:55 AM
  6. License question
    By Eric Paschoalick Chaves in forum Excel General
    Replies: 0
    Last Post: 12-09-2005, 10:10 AM
  7. Replies: 0
    Last Post: 08-25-2005, 05:55 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