Dependent Unique data validation

Jranchhod

Board Regular
Joined
Feb 9, 2009
Messages
56
PlacePerson
MaropengJetash
MaropengJetash
MaropengJetash
ZooMark
MaropengInkly
MaropengSleops
Zoo LakeMark
Zoo LakeMark
Zoo LakeMisty Wash
<colgroup><col width="70" style="width: 53pt; mso-width-source: userset; mso-width-alt: 2560;"> <col width="78" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2852;"> <tbody> </tbody>

Good day all

I am trying to create a dynamic / dependent data validation. this is what I am trying
under "Places" I create a unique data validation list that woks perfectly in a table form and an Index formular
I am struggling to add the "Staff" data validation dependent to the "Places" validation witch is unique
so if I choose "Maropeng" for example how do I get the "Place" validation to show the unique list for "Place"
so

Maropeng and the list shows , Jetash, Inkly and Sleops and not Jetash, Jetash, Jetash, Inkly and Sleops.
Thank you in advance
Jetash
<tbody> </tbody>


 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Maybe something like this.
This is an array formula and must be entered with CTRL-SHIFT-ENTER. Then drag formula down.
Excel Workbook
ABCDE
1PlacePersonPlacePerson
2MaropengJetashMaropengJetash
3MaropengJetashInkly
4MaropengJetashSleops
5ZooMark
6MaropengInkly
7MaropengSleops
8Zoo LakeMark
9Zoo LakeMark
10Zoo LakeMisty Wash
Sheet
 
Upvote 0
one way with PowerQuery

SourceDV listResult
PlacePersonPlacePersonList
MaropengJetashZooMarkMaropeng
MaropengJetashZoo
MaropengJetashZoo Lake
ZooMark
MaropengInkly
MaropengSleops
Zoo LakeMark
Zoo LakeMark
Zoo LakeMisty Wash

or

DV listResult
PlacePerson
Zoo LakeMark
Misty Wash

Code:
[SIZE=1]// Result
let
    tbl4 = Excel.CurrentWorkbook(){[Name="Table4"]}[Content],
    tbl5 = Excel.CurrentWorkbook(){[Name="Table5"]}[Content],
    Source = Table.NestedJoin(tbl5,{"Place"},tbl4,{"Place"},"tbl4",JoinKind.LeftOuter),
    Expand = Table.ExpandTableColumn(Source, "tbl4", {"Person"}, {"Person"}),
    RemDup = Table.Distinct(Expand, {"Person"}),
    ROC = Table.SelectColumns(RemDup,{"Person"})
in
    ROC[/SIZE]
 
Last edited:
Upvote 0
Good day everyone


Thank you so much for your help ( Ahoy and Sandy) I have been pulling hair for 3 days now.

Much appreciated
Jetash
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,683
Members
449,116
Latest member
HypnoFant

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