nikhil_715

New Member
Joined
Apr 2, 2019
Messages
13
TOM
CANADA
PANCAKE
MACK
ENGLAND
HOTDOG
HARDY
USA
BURGER
TOM
CHINA
MOMOS
MICK
CANADA
PIZZA

<tbody>
</tbody>
Hi, I have 3 columns , in column A I have around 220 line items which are unique words, in column B there are 433 line items which are unique. All the items in one or the other form in column A are linked to each items in B. (Example I have Tom in column a which has further 2 items which are linked in column B ) and similarly column B is further linked up with column C which has another 1646 line items. I want to validate cells in such a way that when I select from column A drop list , the other cell for column B should only show me the items in the drop list which are related to column A (Ex if I select TOM from the drop list the other list should only allow me to select CANADA ,CHINA in the drop box) further in the third cell it should only allow me to select options which are linked to column B ,in the above case I selected TOM I get to select CANADA OR CHINA then I select CANADA it should allow me to only select from PANCAKE or PIZZA. This is a small example Pancakes might also be linked to another country or name .

The lines are in 1000s so its difficult for me to sort out the list in a new tab like the easy way where you List first column then under each name sorting out the country and then the food.

Thank you in advance
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Super duper cool thankyou so much

Hi Need to change or modify the code a bit, there are 2 sheets 1 and 2 ,as you are aware. The data validation is taking place in sheet 1 . I want to add 7 columns in sheet 1 before the data validation. You have created the coding based on the data is in column a b & c. Now since i have inserted columns before them, the columns have moved to h,i,j. In sheet 2 nothing has changed . Now the code is not working. Since I am not a coder i am finding it difficult to make the changes in the code .

Note: the inserted columns don't have any role to play with these 3 data validation columns.
I tried changing the codes but since I am not able to understand the coding language I am messing it up.
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,268
Members
449,149
Latest member
mwdbActuary

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