+ Reply to Thread
Results 1 to 5 of 5

Look up name but give data the next cell over

  1. #1
    Registered User
    Join Date
    09-28-2012
    Location
    Oneonta NY
    MS-Off Ver
    Excel 2011
    Posts
    10

    Look up name but give data the next cell over

    I am looking for a formula to search a column for a name then when found give me the data the cell next to it.

    Example:

    1 A B
    2 Name Age
    3 Tim 18
    4 Kelly 22
    5 Josh 19

    Search Column A for Kelly it finds it ins A3 but the result returned is from B3 which would be 22.

    Thanks

    Tim

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Look up name but give data the next cell over

    Try:

    =VLOOKUP("Kelly",A1:B5,2,0)
    Quang PT

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Look up name but give data the next cell over

    =VLOOKUP(D2,$A$2:$B$4,2,0)

    Row\Col
    A
    B
    C
    D
    E
    1
    Name Age
    2
    Tim
    18
    Kelly
    22
    3
    Kelly
    22
    4
    Josh
    19
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Look up name but give data the next cell over

    Another possibility as long as the lookup names will not appear more than once.

    =SUMIF(A:A,"Kelly",B:B)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Look up name but give data the next cell over

    Try to apply the pop-up list.
    Attached Files Attached Files

+ 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] How to a match a cell with other cells to give the desired data
    By rajendra0726 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-03-2015, 03:54 AM
  2. VBA Code to grab data give critiria in textbox and output data range to cell range. Help!?
    By exclusiveicon in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-26-2014, 05:31 PM
  3. Replies: 0
    Last Post: 08-07-2013, 10:31 AM
  4. Give RELEVANT responses to questions. DO NOT give usless list
    By pmartin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-06-2006, 02:00 PM
  5. [SOLVED] can you count data in a cell to give a value?
    By Rudi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2006, 08:20 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