Dependent Dropdown - first lookup column contains space between words

mjcanty

New Member
Joined
Feb 9, 2016
Messages
17
Office Version
  1. 2016
Platform
  1. Windows
Hello MrExcel forum,
I have a workbook (Data sheet and Lookup sheet) that I would like to have two dropdown lists on the Data sheet, where the second dropdown is dependent on the selection in the first dropdown. I have all of the lookup values in the Lookup sheet. Based on multiple searches I have made, I'm coming across some issues. The main issue is that I am using Excel 2016, which doesn't have the =UNIQUE function. Also, the column that will drive the first dropdown contains cells where the values have a space in between (i.e. Los Angeles) and in some cases it could be multiple spaces (i.e. San Luis Obispo). Each example I have found online has not worked, thus I am seeking the forum's assistance in my request. Thank you in advance.
CountyCity


CountyCity
Contra CostaAntioch
Contra CostaBrentwood
Contra CostaClayton
Contra CostaConcord
Contra CostaDanville
Contra CostaEl Cerrito
Contra CostaHercules
Contra CostaLafayette
Contra CostaMartinez
Contra CostaMoraga
Contra CostaOakley
Contra CostaOrinda
Contra CostaPinole
Contra CostaPittsburg
Contra CostaPleasant Hill
Contra CostaRichmond
Contra CostaSan Pablo
Contra CostaSan Ramon
Contra CostaWalnut Creek
Del NorteCrescent City
El DoradoPlacerville
El DoradoSouth Lake Tahoe
Los AngelesAgoura Hills
Los AngelesAlhambra
Los AngelesArcadia
Los AngelesArtesia
Los AngelesAvalon
Los AngelesAzusa
Los AngelesBaldwin Park
Los AngelesBell
Los AngelesBellflower
Los AngelesBell Gardens
Los AngelesBeverly Hills
Los AngelesBradbury
Los AngelesBurbank
Los AngelesCalabasas
Los AngelesCarson
Los AngelesCerritos
Los AngelesClaremont
Los AngelesCommerce
Los AngelesCompton
Los AngelesCovina
Los AngelesCudahy
Los AngelesCulver City
Los AngelesDiamond Bar
Los AngelesDowney
Los AngelesDuarte
Los AngelesEl Monte
Los AngelesEl Segundo
Los AngelesGardena
Los AngelesGlendale
Los AngelesGlendora
Los AngelesHawaiian Gardens
Los AngelesHawthorne
Los AngelesHermosa Beach
Los AngelesHidden Hills
Los AngelesHuntington Park
Los AngelesIndustry
Los AngelesInglewood
Los AngelesIrwindale
Los AngelesLa Canada Flintridge
Los AngelesLa Habra Heights
Los AngelesLakewood
Los AngelesLa Mirada
Los AngelesLancaster
Los AngelesLa Puente
Los AngelesLa Verne
Los AngelesLawndale
Los AngelesLomita
Los AngelesLong Beach
Los AngelesLos Angeles
Los AngelesLynwood
Los AngelesMalibu
Los AngelesManhattan Beach
Los AngelesMaywood
Los AngelesMonrovia
Los AngelesMontebello
Los AngelesMonterey Park
Los AngelesNorwalk
Los AngelesPalmdale
Los AngelesPalos Verdes Estates
Los AngelesParamount
Los AngelesPasadena
Los AngelesPico Rivera
Los AngelesPomona
Los AngelesRancho Palos Verdes
Los AngelesRedondo Beach
Los AngelesRolling Hills
Los AngelesRolling Hills Estates
Los AngelesRosemead
Los AngelesSan Dimas
Los AngelesSan Fernando
Los AngelesSan Gabriel
Los AngelesSan Marino
Los AngelesSanta Clarita
Los AngelesSanta Fe Springs
Los AngelesSanta Monica
Los AngelesSierra Madre
Los AngelesSignal Hill
Los AngelesSouth El Monte
Los AngelesSouth Gate
Los AngelesSouth Pasadena
Los AngelesTemple City
Los AngelesTorrance
Los AngelesVernon
Los AngelesWalnut
Los AngelesWest Covina
Los AngelesWest Hollywood
Los AngelesWestlake Village
Los AngelesWhittier
San BenitoHollister
San BenitoSan Juan Bautista
San BernadinoAdelanto
San BernadinoApple Valley
San BernadinoBarstow
San BernadinoBig Bear Lake
San BernadinoChino
San BernadinoChino Hills
San BernadinoColton
San BernadinoFontana
San BernadinoGrand Terrace
San BernadinoHesperia
San BernadinoHighland
San BernadinoLoma Linda
San BernadinoMontclair
San BernadinoNeedles
San BernadinoOntario
San BernadinoRancho Cucamonga
San BernadinoRedlands
San BernadinoRialto
San BernadinoSan Bernardino
San BernadinoTwentynine Palms
San BernadinoUpland
San BernadinoVictorville
San BernadinoYucaipa
San BernadinoYucca Valley
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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