+ Reply to Thread
Results 1 to 5 of 5

Lookup table

  1. #1
    Registered User
    Join Date
    05-03-2006
    Posts
    5

    Lookup table

    Hi

    I have one spreadsheet saved as a file that is intended to be a look up table. 'Column A' is an index column with cells having the numbers 1 to 250 in ascending order. 'Column B' is a column that contains strings 1 to 250.

    I'd like to create ANOTHER spreadsheet so that when I entered a number, 1 to 250, in a cell, it would call up the string adjacent to that number in the lookup table spreadsheet.

    Hope this makes sense... Any ideas on how to achieve this?

    Shannon

  2. #2
    Bondi
    Guest

    Re: Lookup table

    Hi Shannon,

    You can use VLOOKUP()... Something like

    =VLOOKUP(CellRefferenceToYourNumber,A1:B250,2)

    Regards,
    Bondi


  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Vlookup

    if sheet 2 is your table
    column A is the value to look for
    column B is what you want to find

    in sheet1
    A1 is where you will enter your criteria
    B1 you can enter this formula
    =IF(ISNA(VLOOKUP(A1,Sheet2!A1:B250,2,FALSE)),"",VLOOKUP(A1,Sheet2!A1:B250,2,FALSE))

    you don't have to use these ranges this is just an example of how to do it

  4. #4
    JimMay
    Guest

    Re: Lookup table

    Put this in your Second Workbook sheet, where your number (1 to 250)is
    in say in cell A2 - enter into cell B2:

    =Vlookup(A2, FirstSheet!$A$2:$B$250, 2,0)
    And copy down as far as you need.

    HTH

    "shannoncox" <shannoncox.2788vy_1146652200.5395@excelforum-nospam.com>
    wrote in message
    news:shannoncox.2788vy_1146652200.5395@excelforum-nospam.com:

    > Hi
    >
    > I have one spreadsheet saved as a file that is intended to be a look up
    > table. 'Column A' is an index column with cells having the numbers 1 to
    > 250 in ascending order. 'Column B' is a column that contains strings 1
    > to 250.
    >
    > I'd like to create ANOTHER spreadsheet so that when I entered a number,
    > 1 to 250, in a cell, it would call up the string adjacent to that number
    > in the lookup table spreadsheet.
    >
    > Hope this makes sense... Any ideas on how to achieve this?
    >
    > Shannon
    >
    >
    > --
    > shannoncox
    > ------------------------------------------------------------------------
    > shannoncox's Profile: http://www.excelforum.com/member.php...o&userid=34075
    > View this thread: http://www.excelforum.com/showthread...hreadid=538387



  5. #5
    Registered User
    Join Date
    05-03-2006
    Posts
    5
    Thanks guys. I'll try it out!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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