Excel 2007 drop down lists

A

Angela9520

I would like to create a drop down list of number that, when selected, will
automatically fill out the the next cell with a name i.e.

I select No. 120 and the next cell automatically fills out the name as being
Angela9520. How can I do that? Ostensible I want to select a number and
have the name associated with that number appear in the next cell!
 
L

L. Howard Kittle

I don't have 2007 but I think you can use VLOOKUP.

Something like this in B1 =VLOOKUP(A1,J1:K1,2,0)

Where A1 is the drop down and B1 has the formula and J is a list of the
numbers in the drop down and K is the corresponding names associated to that
number.

HTH
Regards,
Howard
 
A

Angela9520

I tried that and it works find with the first number on the drop down list
but I can't seem to extend the formula so that the second number, if
selected, shows me the second name. This is assuming I am only using A1 to
select the number. I can use A2 and modify the formula but that isn't the
idea of a drop down list. Or perhaps my limited experience is preventing me
from seeing!
 
L

L. Howard Kittle

Send me an example workbook and I will give it a go. Include what you want
to happen and where.
(e-mail address removed)

Regards,
Howard
 
G

Gord Dibben

Howard gave you a one row lookup table range. You must extend that range.

=VLOOKUP(A1,$J$1:$K$20,2.FALSE) entered in B1

Assumes dropdown in A1 and a list of numbers in J1:J20 and list of names in
K1:K20


Gord Dibben MS Excel MVP
 
L

L. Howard Kittle

Hi Gord,

Well that makes sense, I was not wrapping my head around what the OP was
shooting at.

H
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top