ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Lookup Function? (https://www.excelbanter.com/excel-worksheet-functions/25230-lookup-function.html)

Mark Scott

Lookup Function?
 
I was looking at VLOOKUP and HLOOKUP but I dont think they do what I am
wanting.

What I need to do is to put in numbers into a sheet and then bring back a
reference that a certain number is tied to fom a table on another part of
the sheet: ie if the table is:

255 nnnnnnnn
254 nnnnnnnh
252 nnnnnnhh

then when I type in 254 into a cell I would like a function to return
nnnnnnhh into another cell. I tried usinf nested IF but there are to many
arguements.

Is this possible?

Regards

Mark



JE McGimpsey

one way:

=VLOOKUP(J10,A:B,2,FALSE)


where J10 is the cell you enter your value into.


In article ,
"Mark Scott" wrote:

I was looking at VLOOKUP and HLOOKUP but I dont think they do what I am
wanting.

What I need to do is to put in numbers into a sheet and then bring back a
reference that a certain number is tied to fom a table on another part of
the sheet: ie if the table is:

255 nnnnnnnn
254 nnnnnnnh
252 nnnnnnhh

then when I type in 254 into a cell I would like a function to return
nnnnnnhh into another cell. I tried usinf nested IF but there are to many
arguements.

Is this possible?

Regards

Mark


Mark Scott

Thanks, that did the trick.

"JE McGimpsey" wrote in message
...
one way:

=VLOOKUP(J10,A:B,2,FALSE)


where J10 is the cell you enter your value into.


In article ,
"Mark Scott" wrote:

I was looking at VLOOKUP and HLOOKUP but I dont think they do what I am
wanting.

What I need to do is to put in numbers into a sheet and then bring back a
reference that a certain number is tied to fom a table on another part of
the sheet: ie if the table is:

255 nnnnnnnn
254 nnnnnnnh
252 nnnnnnhh

then when I type in 254 into a cell I would like a function to return
nnnnnnhh into another cell. I tried usinf nested IF but there are to
many
arguements.

Is this possible?

Regards

Mark





All times are GMT +1. The time now is 08:14 PM.

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