Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Linking 2 columns of data

I am trying to create a form in which 2 columns of information are linked. In
one column is a product number and the other is a product description. I want
the form to have drop downs if possible. I want the result to be if you
select the item number the description column fills in or vice versa. I would
also like this information to come from a database containing all the product
item numbers and descriptions.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Linking 2 columns of data

Debra Dalgleish has some web pages on this subject.

For the drop down:

http://www.contextures.com/xlDataVal01.html

And for the subsequent matching fields:

http://www.contextures.com/xlFunctions02.html

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"zemie25" wrote in message
...
I am trying to create a form in which 2 columns of information are linked.
In
one column is a product number and the other is a product description. I
want
the form to have drop downs if possible. I want the result to be if you
select the item number the description column fills in or vice versa. I
would
also like this information to come from a database containing all the
product
item numbers and descriptions.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Linking 2 columns of data

Here's a sample to illustrate one possibility:
http://www.freefilehosting.net/download/3chd6
A simple enquiry sys.xls

Data is assumed in sheet: x, cols A and B,
from row2 down (Col A = Items, Col B = Descriptions)

In x,
Create a dynamic defined range,
via InsertNameDefine
Name: Item
Refers to: =OFFSET(x!$A$2,,,COUNTA(x!$A:$A)-1)

In another sheet: Enquiry,
DVs are created in B3:B10
via Data Validation,
Allow: List, Source: =Item

In C3, copied down:
=IF(B3="","",VLOOKUP(B3,x!A:B,2,0))
returns the descriptions for the items selected in col B

(You could hide away sheet: x normally)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"zemie25" wrote:
I am trying to create a form in which 2 columns of information are linked. In
one column is a product number and the other is a product description. I want
the form to have drop downs if possible. I want the result to be if you
select the item number the description column fills in or vice versa. I would
also like this information to come from a database containing all the product
item numbers and descriptions.

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
Linking data from Rows to columns in seperate worksheets davidge Excel Worksheet Functions 1 August 11th 07 10:37 PM
linking columns Joanne Links and Linking in Excel 0 June 6th 07 03:18 PM
Linking data between columns in an automatic way with dynamic link molo84molo Excel Discussion (Misc queries) 1 August 4th 06 05:40 PM
linking columns [email protected] Excel Worksheet Functions 2 November 6th 05 12:17 AM
Linking text columns with text and data columns Edd Excel Worksheet Functions 0 March 17th 05 04:23 PM


All times are GMT +1. The time now is 02:50 AM.

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

About Us

"It's about Microsoft Excel"