Linked Drop Downs with associated info

ronw55

New Member
Joined
Aug 8, 2014
Messages
8
Is it possible to use linked drop downs with different associated info being displayed in a cell, i.e. cell J1, OD?
I tried using =VLOOKUP(I1,$A$2:$F$6,2,FALSE) but it only works for TFFN. THHN and DLO result in "#N/A".
Is what I want to do possible?

TFFN THHN DLO TypeAwgOD
180.084 180.136 DLO14#N/A
160.096 160.148
140.111140.193
120.130120.212
100.164100.236

<colgroup><col style="width: 56pt; mso-width-source: userset; mso-width-alt: 2742;" span="7" width="75"> <col style="width: 48pt;" span="3" width="64"> <tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Code:
=if($h$2="tffn",vlookup($a:$b,$i$2,2,0),if($h$2="thhn",vlookup($c:$d,$i$2,2,0),vlookup($i$2,$e:$f,2,0)))

Code:
=IF($H$2="TFFN",VLOOKUP($A:$B,$I$2,2,0),IF($H$2="THHN",VLOOKUP($C:$D,$I$2,2,0),VLOOKUP($I$2,$E:$F,2,0)))

There's the same...I just can't get it to be uppercase without having two...because reasons.
 
Upvote 0
Thanks NeonRedSharpie. At first the code would only work for the DLO group. After looking a little closer I noticed that for DLO you had $I$2 before the range and for TFFN and THHN you had it after the range. I moved it in front of the range and then it worked great! Thank you very much!!!
 
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,182
Members
448,948
Latest member
spamiki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top