Validation List with out Duplicates

zhongmengkai

New Member
Joined
May 24, 2010
Messages
6
I am trying to find a way to create a validation list where the source is linked to a list that has duplicates. All of the duplicates are bundled together and I do not want to remove the duplicates from the source. I just want to remove them from the drop down list.

Source:$A$1:$A$10
List: $C$1:$C$10

___|______A______|__B__|______C______|
_1_|____ Home____|_____|____ Time ____|
_2_|____ Home____|_____|____ Home____|
_3_|____ Home____|_____|____ Camp____|
_4_|____ Home____|_____|____ Camp____|
_5_|____ Camp____|_____|____ Time ____|
_6_|____ Camp____|_____|____ Home____|<______
_7_|____ Camp____|_____|___ _ _ _ _ ___| | Home |
_8_|____ Time ____|_____|___ _ _ _ _ ___| | Camp |
_9_|____ Time ____|_____|___ _ _ _ _ ___| |_Time_|
10_|____ Time ____|_____|___ _ _ _ _ ___|

I am fine with using macros of creating functions or preferably there is already a function to do this that I don't know about.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
You can run this macro which will create a unique list in column C...

Code:
Sub AdvFilter()
    Range("A1", Range("A" & Rows.Count).End(xlUp)).AdvancedFilter _
            Action:=xlFilterCopy, CopyToRange:=Range("C1"), Unique:=True
End Sub

...then in the name manager create a name and as the source
Code:
=Sheet1!$C$2:INDEX(Sheet1!$C:$C,MATCH(REPT("Z",255),Sheet1!$C:$C))

Excel Workbook
ABC
1TypeHomeType
2HomeHome
3HomeCamp
4HomeTime
5Home
6Camp
7Camp
8Camp
9Time
10Time
11Time
Sheet1
#VALUE!
</td></tr></table></td></tr></table>
 
Upvote 0

Forum statistics

Threads
1,223,101
Messages
6,170,116
Members
452,302
Latest member
TaMere

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