Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 113
Default drop down menue and autofills

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default drop down menue and autofills

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".

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"leslie" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default drop down menue and autofills

Hi,

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



Deepali Joshi

"leslie" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 113
Default drop down menue and autofills

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

"Shane Devenshire" wrote:

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".

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"leslie" wrote:

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

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 113
Default drop down menue and autofills


Never Mind Deepali and Shane
I got it to work...

Thanks so much.

leslie
"leslie" wrote:

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

"Shane Devenshire" wrote:

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".

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"leslie" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i have a drop-down menue in a cell of an Excel preadsheet Reza Rassoulli Excel Worksheet Functions 3 July 6th 06 10:19 PM
vb drop down menue conorot Excel Discussion (Misc queries) 1 May 17th 06 10:03 AM
How do I set up XML on Data menue? Mkitaguchi Excel Discussion (Misc queries) 1 May 2nd 06 09:29 PM
Excell formula that autofills information blitzz008 New Users to Excel 2 April 25th 06 03:25 AM
The Draw Menue "bracket" FLKULCHAR Excel Discussion (Misc queries) 1 November 26th 04 01:20 PM


All times are GMT +1. The time now is 09:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"