Home |
Search |
Today's Posts |
#1
|
|||
|
|||
pairing 2 column in one sheet
HI
I am new to this thread i have a quiery in excel 2003 i want to pair to columns in one sheet like column D & E when i slect the value in column D the value of column E should be selected automatiocally and the value cannot be changed please help thahir |
#2
|
|||
|
|||
Quote:
I assume you are attempting to have 2 lists where an item from the first list (Column D) is in a dropdown, and when one is selected, you add in the value from the second (Column E)? One thought is to use a VLOOKUP() to find the value, then CONCATENATE() to add them together. As an example, you have the following data in columns D and E: (Sorry about formatting - I'm new here too, ignore the underscores) D_________E apple______is a fruit banana____is a bendy fruit chicken____is a bird pilchard____is a fish In cell D7 (remember this cell as we'll use it in the formula below) create a List of Column D items using Data Validation and selecting cells D1 to D4 (apple down to pilchard). In another cell (e.g. D9), put in the formula: =CONCATENATE(D7,VLOOKUP(D7,D1:E4,2,FALSE)) This will look up the value that corresponds to the one the user has selected in D7 from the list in column E and add concatenate the two. This should result in the following appearing in D9 when different alues are selected in D7: apple is a fruit banana is a bendy fruit chicken is a bird pilchard is a fish |
#3
|
|||
|
|||
Is it possible to have a variable for the sheet name?
Code: |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Compare sheet 1 column A numbers with sheet 2 column A number | Excel Worksheet Functions | |||
Formula to COUNT the pairing of DIGITS in a list, cell by cell | Excel Worksheet Functions | |||
Formula for competition pairing | Excel Worksheet Functions | |||
formula for pairing 60 different products into 5 price groups | Excel Worksheet Functions | |||
Pairing Question | Excel Discussion (Misc queries) |