Need help with Formula

Status
Not open for further replies.

Laser223

New Member
Joined
Jan 22, 2019
Messages
4
Using the data validation I created a drop down list. The formual I used is =VLOOKUP(K2,A1:A20,2). The list has several codes associated with name of places in A1:A20. When you pick a code in K2, it will display one of the cities from A1:A20 in K1 cell. I need K2 to also display what is showing b1:b20 and c1:c20 in K3 and K4 cells. Also some cites could have more than one data associated, for example los angeles could listed 3x times with different values. Which I would need for cells to update k3, k4, and k5 when a code is selected in k2.

Basically when the code is selected in k2, it not only needs to update the name of places in k1, it needs to update K3, K4, and K5 with the values from
b1:b20 and c1:c20.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Duplicate https://www.mrexcel.com/forum/excel-questions/1084763-need-help-data-validation.html#post5212554

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).

Note that sometimes posts from new users require Moderator approval before you can see them on the public forums. When this happens, you should see a message to that effect when you try to post it.
Please be patient and do not attempt to post the question again.
 
Last edited:
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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