ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Lookup table (https://www.excelbanter.com/excel-discussion-misc-queries/86513-lookup-table.html)

shannoncox

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


--
shannoncox
------------------------------------------------------------------------
shannoncox's Profile: http://www.excelforum.com/member.php...o&userid=34075
View this thread: http://www.excelforum.com/showthread...hreadid=538387


Bondi

Lookup table
 
Hi Shannon,

You can use VLOOKUP()... Something like

=VLOOKUP(CellRefferenceToYourNumber,A1:B250,2)

Regards,
Bondi


davesexcel

Lookup table
 

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)),"",VL OOKUP(A1,Sheet2!A1:B250,2,FALSE))

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


--
davesexcel


------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=538387


JimMay

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"
wrote in message
:

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



shannoncox

Lookup table
 

Thanks guys. I'll try it out! ;)


--
shannoncox
------------------------------------------------------------------------
shannoncox's Profile: http://www.excelforum.com/member.php...o&userid=34075
View this thread: http://www.excelforum.com/showthread...hreadid=538387



All times are GMT +1. The time now is 03:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com