Removing duplicate entries from a data validated drop down list in a three tier Cascading List.

AirportAndy71

New Member
Joined
Feb 12, 2019
Messages
6
I've managed to create a spreadsheet for subcontractors (i work in construction) to auto generate document numbers from 18 mandatory metadata fields (Only 8 fields fill the Document number but the others are mandatory to the EDMS system we use (Aconex)).

One section is looking for specific codes to the job and has three child cascading levels after the first is picked and obviously the 2nd field drop-down depends on the parent (1st Field) and the 3rd field drop-down depends on the 2nd field drop-down and the 4th field drop-down depends on the 3rd field drop-down.

I have a hidden sheet with all the valid metadata on it and the data validation formulas i've used to look for these once the field above has been chosen are as follows:

=OFFSET(AFC!$B$1,MATCH(L2,AFC!$B:$B,0)-1,1,COUNTIF(AFC!$B:$B,L2),1)
=OFFSET(AFC!$C$1,MATCH(M2,AFC!$C:$C,0)-1,1,COUNTIF(AFC!$C:$C,M2),1)
=OFFSET(AFC!$D$1,MATCH(N2,AFC!$D:$D,0)-1,1,COUNTIF(AFC!$D:$D,N2),1)

My problem is the cascading sheets have duplicates because each field chosen has multiple choices and each of those choices have again multiple choices and so on down the line.

And in the drop downs for the 2nd, 3rd & 4th in the series show these and id rather they just showed a single instance of each. I cant remove duplicates from the original lists as i need the formulas above to look for multiple entries and show whats related once chosen (Hence the COUNTIF).

Is there a way to have the drop downs not show multiples?

This is a small example of what my hidden data looks like for reference:

AFCselectList5selectList6selectList7
100 Asset Function Group100 Asset Function Group100 General Asset000 N/A
200 Building Structure & Fabric100 Asset Function Group118 Navaids000 N/A
300 Baggage100 Asset Function Group118 Navaids140 Control Panel
400 Safety Security & Fire100 Asset Function Group118 Navaids222 Monitoring Device
500 Information & Communications100 Asset Function Group118 Navaids222 Monitoring Device
600 People Related Transport100 Asset Function Group118 Navaids259 Approach Radar
700 Areas, Railways. Vehicles & Intangibles100 Asset Function Group118 Navaids303 Instrument Landing Sys ILS
800 Services & Utilities100 Asset Function Group118 Navaids307 Instrumented Runway Visual Range IRVR
900 Project Management & Controls100 Asset Function Group118 Navaids325 Application Software
100 Asset Function Group118 Navaids326 Microwave Landing Sys MLS
100 Asset Function Group118 Navaids397 Surface Radar
100 Asset Function Group118 Navaids436 VHF UHF Aerials
100 Asset Function Group118 Navaids445 Windsock-Windsleeve
100 Asset Function Group125 Runway Crossing000 N/A
100 Asset Function Group125 Runway Crossing073 Cable
100 Asset Function Group125 Runway Crossing140 Control Panel
100 Asset Function Group125 Runway Crossing150 Light Fitting Airfield Road
100 Asset Function Group125 Runway Crossing321 Mast
100 Asset Function Group125 Runway Crossing424 Traffic Lights

<colgroup><col span="2"><col><col></colgroup><tbody>
</tbody>

Many thanks in advance..
 

Some videos you may like

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Watch MrExcel Video

Forum statistics

Threads
1,127,778
Messages
5,626,827
Members
416,202
Latest member
donya ba

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
Top