+ Reply to Thread
Results 1 to 5 of 5

Matching Error

  1. #1
    Registered User
    Join Date
    06-09-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    27

    Matching Error

    Hi All!

    I am having an issue matching a name from one column to another column on another sheet. Specifically, the license name next to the name. One sheet has a name with data. I know how to find that matched name on another sheet, but want to also find the license that is next to it and matches. My steps taken are below and created a fake report with 4 rows to show as an example. Thank you!

    The below steps were taken to achieve the results that are unfortunately incorrect. The issue comes when matching an employee name to its license name a couple of columns to its right in sheet 1 of the expiring report. I have attached both without edits. The screenshot below is what I receive when following the steps I thought would be able to achieve what we needed.

    Steps Followed:

    1. In C2, place the following formula: =MATCH("*"&B2&"*",Sheet1!A:A, 0). Drag down so that the formula applies to each row.
    2. In D2, place the following formula: =IF(MATCH("*"&B2&"*", Sheet1!A:A, 0), Sheet1!B:B, 0). Drag down accordingly.
    3. The results should show the row and license name for that employee. (This unfortunately is where we receive the error. The top one, LisaLisa, shows Basic Life in column D, but should show 7th Edition NRP Provider).
    Attached Files Attached Files
    Last edited by Guitarist; 11-18-2020 at 12:36 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,000

    Re: Matching Error

    Please post a wokbook after Step 2. There are no errors in your posted sheet and it all looks overly complicated. Let's see what you start with and we can go from there.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Matching Error

    You've given us a lot of information about your process that does not pertain to your attached workbook, for example, nothing in cell U2 in either sheet nor any #N/A outputs.
    Next, in your user profile you list your MS version as Tennessee which is not a MS version. The reason we ask for a version is because some formulas will work in newer versions but will not work in older versions.
    For example, depending on your version i would recommend you look into downloading the fuzzy lookup application available from Microsoft for excel that allows imperfect matching here... https://www.microsoft.com/en-us/down....aspx?id=15011
    So please consider these recommendations about your attachment and profile.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    06-09-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    27

    Re: Matching Error

    Sorry about that! I have edited the sheet and will edit my primary post
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,000

    Re: Matching Error

    Based on a rather limited sample...


    =VLOOKUP(B2&"*",Sheet1!A:B,2,FALSE) in d2, copied down.

+ 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] Matching List Formula Error
    By TitansGo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-27-2016, 01:10 PM
  2. String Matching Error
    By Straywire in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2015, 10:25 PM
  3. [SOLVED] Alter Matching Sub From matching two Ranges to matching one range and list
    By capson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2015, 10:48 PM
  4. VB matching numbers error
    By hamhains in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2011, 11:22 AM
  5. Matching graph colours with legend error
    By dunda1985 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-08-2011, 10:36 AM
  6. Error trapping in a formula with Matching
    By markvdh in forum Excel General
    Replies: 8
    Last Post: 03-07-2011, 05:57 AM
  7. #N/A error matching time values
    By excelent in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-24-2006, 05:25 PM

Tags for this Thread

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