+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP - Can't find data for only SOME rows

  1. #1
    Registered User
    Join Date
    05-27-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    2

    Angry VLOOKUP - Can't find data for only SOME rows

    SPREADSHEET AND PURPOSE

    This spreadsheet is designed to list people, and the training groups (cohorts) they belong to.

    One tab is a list of cohorts, including names, dates and training information.
    The second tab lists individuals. Each individual is given a cohort name - which is actually a hard reference to the name in the other tab. (So all cohort names are dynamically derived from the cohort data directly).

    My aim is to use VLOOKUP to assign an individuals training data based on the cohort they belong to (pulling from the other cohort info tab).

    PROBLEM

    The VLOOKUP works for almost every cohort, except those whose name begins with "22AprilEnable...". These rows are returning #N/A
    I can't work out why. It should be able to find a value it is itself already returning from the lookup location (as it is with the other rows).

    NOTE: if I change the name of the affected cohorts in the cohort tab, the #N/A is replaced by data from an entirely different row further down the lookup table.

    This is driving me a bit crazy, I must say ... I might have missed something obvious.
    Attached Files Attached Files
    Last edited by JonnyBoyMach3; 05-27-2022 at 11:08 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,471

    Re: VLOOKUP - Can't find data for only SOME rows

    Welcome to the forum.

    You want an exact match, so change TRUE to FALSE:

    =VLOOKUP(A80,Cohorts!$A$2:$H$82,5,FALSE)
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-27-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    2

    Re: VLOOKUP - Can't find data for only SOME rows

    Thank you so much!

+ 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. vlookup to find rows in a table
    By paascal in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-10-2021, 10:14 PM
  2. Replies: 3
    Last Post: 02-28-2016, 02:56 PM
  3. [SOLVED] To find the rows with vlookup value #N/A
    By sudharshan86 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2014, 03:58 AM
  4. Replies: 4
    Last Post: 11-13-2013, 11:15 AM
  5. Replies: 2
    Last Post: 07-18-2012, 09:11 AM
  6. vlookup does not find data
    By jiwolf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2005, 11:05 AM
  7. [SOLVED] vlookup function-Can vlookup command find the data from the 5 sheets.
    By Rishab shah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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