+ Reply to Thread
Results 1 to 5 of 5

look up text and return corresponding number

  1. #1
    Registered User
    Join Date
    09-22-2014
    Location
    England
    MS-Off Ver
    MS 365 Enterprise V2210
    Posts
    85

    look up text and return corresponding number

    hi All,

    I have attached my example for ease of use.

    I am trying create a formula so in G2:G6 i can search for the name in F2:F6 and if it matches a cell in B2:B6 that it will return the relevant cell in column C.

    So for example Jo(F2) returns C3

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: look up text and return corresponding number

    Perhaps try VLOOKUP or an INDEX/MATCH combination

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: look up text and return corresponding number

    Hi

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


    OR

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

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: look up text and return corresponding number

    =IFERROR(VLOOKUP(F2,$B$2:$C$6,2,0),"not matched")
    can try this too
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: look up text and return corresponding number

    try this
    =IFERROR(INDEX($B$2:$C$6,MATCH(F2,$B$2:$B$6,0),2),"Not Matched")

+ 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. Replies: 2
    Last Post: 10-04-2014, 03:50 AM
  2. [SOLVED] Return the first number in a text string
    By MarvinP in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-22-2014, 03:16 PM
  3. [SOLVED] Return row number of text string
    By KimMorgan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-04-2013, 07:17 PM
  4. deducting one text box value from another to return number of hours
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-05-2009, 12:31 PM
  5. [SOLVED] how do i use VLOOKUP to find text and return a number?
    By roza_j2002 in forum Excel General
    Replies: 8
    Last Post: 08-14-2006, 07:05 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