drop down menue and autofills

L

leslie

I know how to create a drop down menu, but I want to be able to choose an
item on the drop down list and it will automatically fill in three adjacent
cells with three values that are on another table. How do i do this? I am
using Excel 2007
 
S

Shane Devenshire

Hi

Assume your table is in the range H1:M100 and the drop down is in cell A1

then in B1 enter the following formula
=VLOOKUP($A1,$H$1:$M$100,2,FALSE)
this will check H1:H100 for the item in A1 and return an item from the
second (2) column of the lookup table when it finds an exact match with A1 in
column H.

A modified version of this would be put in C1 and D1, the only difference
being the "2".
 
D

Deepali Joshi

Hi,

You can use Vlookup function here, to link two different tables and to get
the output



Deepali Joshi
 
L

leslie

Hi Shane

Your help got me part way there, but.....
My drop down list is in in cell D23 (12 items). I want to fill in values
D24-D27 based on my selection in D23. I have a table with 12 rows. D219-D230
is my drop down list, E219-E230 is column 1 to fill in D24, F219-F230 is
column 2 to fill in D25, G219-G230 is column 3 to fill in D26, H219-H230 is
column 4 to fill in D27. The formula you provided works great for the first
item in the drop down. However when I change the item on the drop down, it
can't change the coresponding list. Any ideas?

Leslie
 

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

Top