Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Shorten Data Validation list

Hi,

i know i've done it in the past but i can't seem to figure out what the
formula is for this one.

I have a list based off of a query that can list multiple deparments in the
column i'm using for my validation. for example.

Department.
Streets N
Streets N
Streets N
Parks E
Parks E
Fire
Fire

What i want the validation to do i show only 1 Streets N instead of 3, 1
Parks E instead of 2, and 1 Fire instead of 2

Hope that makes sense.

Thanks,

Ben

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Shorten Data Validation list

You have to extract the unique entries to another list and then use that new
list as the source for your drop down list. One way to do that is to use the
advanced filter.

Assume your data is in the range A1:A8.
Select the entire range including the column header (Department)
Goto the menu DataFilterAdvanced Filter
If a message box pops up read it and take the appropriate action.
Select: Copy to another location
Copy to: enter a cell reference where you want the new list to appear, say,
B1
Select: Unique records only
OK

Use this new list as the source for your drop down list (excluding the
column header).

--
Biff
Microsoft Excel MVP


"Ben" wrote in message
...
Hi,

i know i've done it in the past but i can't seem to figure out what the
formula is for this one.

I have a list based off of a query that can list multiple deparments in
the
column i'm using for my validation. for example.

Department.
Streets N
Streets N
Streets N
Parks E
Parks E
Fire
Fire

What i want the validation to do i show only 1 Streets N instead of 3, 1
Parks E instead of 2, and 1 Fire instead of 2

Hope that makes sense.

Thanks,

Ben



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shorten list into several columns Kathy's List Excel Discussion (Misc queries) 3 July 21st 09 11:35 PM
Pick List - Shorten KeyStrokes Joe K. Excel Discussion (Misc queries) 1 October 15th 07 09:37 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Macro to shorten a list JGB Excel Discussion (Misc queries) 2 August 5th 05 10:31 AM


All times are GMT +1. The time now is 01:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"