View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson[_5_] Dave Peterson[_5_] is offline
external usenet poster
 
Posts: 1,758
Default not sure what functions/code to use?

You could use =vlookup()
Visit Debra Dalgleish's site:
http://www.contextures.com/xlFunctions02.html
for nice instructions.

But maybe it would be easier using Data|Validation--then you could see the name
you're choosing.

Also from Debra's site:
http://www.contextures.com/xlDataVal01.html



s&d wrote:

I was wondering if someone can gear me in the right direction with this.

I created a data-only worksheet with 2 columns as per below with all the
data: I called the worksheet "User Names"

in column A in column B

1 j. doe
2 k. anderson
3 l. wilson
4 m. robinson
5 n. woods

In a separate blank worksheet with the following headings, I would like to
retrieve the data from the "User Names" worksheet.

User Number User Name

For example: If I typed in the number "3" under "User Number" column, I
would like it to lookup the number "3" in the "User Names" worksheet and
retrieve the name "l. wilson" and insert it in the cell under "User Name".

Any information would be greatly appreciated, the whole purpose of this is
to save time from writing out the User names all the time.

Thanks,
Sherry.


--

Dave Peterson