Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Issuesinmonument
 
Posts: n/a
Default How do I create a command from a list box

I want to select an item in a scroll list or drop down box and by selecting a
specific item in that list have excell proform a different function. For
example: I have a list of numbers that each represent a discription. I want
to select the number from the list and have excell paste the description for
that number in a different box. I want each different number to have a
different description.
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

You could use Data|Validation and =vlookup().

Put the list in sheet2, column A. Put the description in sheet2, column B.

Then if your cell is A1 (of sheet1), you can put this in B1:

=if(a1="","",vlookup(a1,sheet2!a:b,2,false))

If you've never used =vlookup(), visit Debra Dalgleish's site:
http://www.contextures.com/xlFunctions02.html
for nice instructions.

And for Data|Validation:
http://www.contextures.com/xlDataVal01.html

Issuesinmonument wrote:

I want to select an item in a scroll list or drop down box and by selecting a
specific item in that list have excell proform a different function. For
example: I have a list of numbers that each represent a discription. I want
to select the number from the list and have excell paste the description for
that number in a different box. I want each different number to have a
different description.


--

Dave Peterson
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
CREATE LIST OBJECT IN EXCEL MIKE Excel Worksheet Functions 0 June 20th 05 08:13 AM
Is there a way to create a drop-down list of links in Excel? t_boden Excel Worksheet Functions 1 February 3rd 05 06:14 PM
The pivot tables 101 article says to use the "Create List" comman. cgnoland03 New Users to Excel 2 January 14th 05 11:39 PM
create a drop down list with the source from a different workbook Sampath Excel Discussion (Misc queries) 2 January 8th 05 07:57 PM
How do you create a drop down list? Aviator Excel Discussion (Misc queries) 2 December 28th 04 03:07 PM


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

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"