LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Kevin
 
Posts: n/a
Default

SUSANMLY,

You will have to do this with VBA. Is this a VBA form your using? If so, put
a dropdown list on the form and in the change event for the list box, use the
vlookup function like this

YourVariable= Application.WorksheetFunction.VLookup(lookupValue, yourRange,
returncolumn)

where the yourRange variable is declared and set as follows:

dim yourRange as Range

Set yourRange= Worksheets(1).Range("AE2:AF5")

the range values in quotes are where your list is defined.

If your actually working in the worksheet and setting up your form there,
the approach would be similar, but the vlookup function will be in your cell
as follows:

=VLookup(lookup cell, AE2:AF5, 2)

This is assuming the value to be returned in the 2nd column of the range. If
you have more than 2 columns in your range, you will need substitute for the
correct column. This method does not get you away from the column where the
item number is diplayed like the VBA method will, but it accomplishes the
need to display the description.

Hope that helps!

Kevin

"SUSANMLY" wrote:


Hi all, I know enough about excel to get by but I'm trying to create a
form and need some formula help. If anyone can help I would appreciate
it. This is some what complicated so here goes.

I have 2 worksheets- the 1st is a list of item #'s in one column with
their corresponding description in another column.

the second worksheet is a form and what I'm wanting to do is to be able
to type in the item # from the 1st worksheet and the description will
appear instead of the item #.

Is this possible?


--
SUSANMLY
------------------------------------------------------------------------
SUSANMLY's Profile: http://www.excelforum.com/member.php...o&userid=10269
View this thread: http://www.excelforum.com/showthread...hreadid=319690


 
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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM


All times are GMT +1. The time now is 12:03 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"