+ Reply to Thread
Results 1 to 10 of 10

Look up a value from a table after matching a keyword

  1. #1
    Forum Contributor
    Join Date
    09-25-2011
    Location
    Lenasia, Johannesburg,South Africa
    MS-Off Ver
    Excel 2019
    Posts
    269

    Look up a value from a table after matching a keyword

    Hi

    I am busy working with a template

    I am trying to use the vlookup function but seem to miss something in my logic

    On the attach file column G which a value has to be placed in when it matches the value Col F and checks a table for jockeys

    G3 = will contain the value 3 which is obtain by looking at F3 "Osin Murphy and reads from the vlookup table Osin Murphy 3

    Trust have made myself clear and thanx in advance for help received.

    Regards
    rajann
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Look up a value from a table after matching a keyword

    Change the 1 at the end of the formula to 0

  3. #3
    Forum Contributor
    Join Date
    09-25-2011
    Location
    Lenasia, Johannesburg,South Africa
    MS-Off Ver
    Excel 2019
    Posts
    269

    Re: Look up a value from a table after matching a keyword

    Hi

    Thank you so much

    Much appreciated

    rajann

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Look up a value from a table after matching a keyword

    You're welcome & thanks for the feedback

  5. #5
    Forum Contributor
    Join Date
    09-25-2011
    Location
    Lenasia, Johannesburg,South Africa
    MS-Off Ver
    Excel 2019
    Posts
    269

    Re: Look up a value from a table after matching a keyword

    Hi

    I tried copy some data into the file and ran the macro but its gives me a N/A error

    any solution to this or am I doing something incorrect

    Regards

    Rajann
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Look up a value from a table after matching a keyword

    Your names in column F have a space after them, which is why the vlookup is returning #N/A

  7. #7
    Forum Contributor
    Join Date
    09-25-2011
    Location
    Lenasia, Johannesburg,South Africa
    MS-Off Ver
    Excel 2019
    Posts
    269

    Re: Look up a value from a table after matching a keyword

    hi

    Many thanx for the reply

    is there a way to remove the space after the name

    regards

    rajann

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Look up a value from a table after matching a keyword

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    09-25-2011
    Location
    Lenasia, Johannesburg,South Africa
    MS-Off Ver
    Excel 2019
    Posts
    269

    Re: Look up a value from a table after matching a keyword

    hi

    Brilliant working like a charm and thank you so much

    one more issue am having if I can request please

    when I ran the macro, the first line of each race is deleted and starts from 2 inplace of 1

    so it skips the first horse and its form

    REgards

    Rajann
    Last edited by khanaran; 07-30-2019 at 01:05 PM. Reason: add info

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Look up a value from a table after matching a keyword

    That is a completely different question, so needs a new thread.
    Thanks

+ 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] Keyword Matching
    By sathishkm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-24-2015, 06:33 PM
  2. [SOLVED] Keyword Matching & Categories
    By leeandoona in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-09-2014, 08:29 AM
  3. Keyword Matching
    By sathishkm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-02-2013, 11:50 AM
  4. keyword matching in a cell(compliated)
    By hk4kim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-06-2013, 05:30 PM
  5. Keyword matching and multiple VLOOKUP
    By makingtrails in forum Excel General
    Replies: 4
    Last Post: 12-07-2012, 10:57 AM
  6. Replies: 1
    Last Post: 04-23-2012, 04:23 AM
  7. keyword, matching and breaking up??
    By SarahPintal in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 01-17-2010, 07:47 PM

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