Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Eric
 
Posts: n/a
Default How to create menu for listed names?

In column A, I get a list of name, which name can be duplicated, such as
John, Mary, John, Peter, Amy, Mary, Amy, Peter

I would like to create a menu for listed names, which name cannot be
duplicated, such as
Amy, John, Mary, Peter

Does anyone know how to do that in excel?
Thank you in advance
Eric
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ken Johnson
 
Posts: n/a
Default How to create menu for listed names?

Hi Eric,
Try the Advanced Filter with a tick in the Unique records only option.
DataFilterAdvanced filter...

Ken Johnson

  #3   Report Post  
Posted to microsoft.public.excel.misc
Eric
 
Posts: n/a
Default How to create menu for listed names?

Thank you for your suggestion
Advanced filter is close, but is not exactly what I need.
Advanced filter can display a sorted list without duplication.
I have also tried the auto filter, which create a pull down menu to sorted
list and is closer, but it is still not exactly what I need, because the
first item can still be able to display, even through I select the second
one, and I don't know why.

I would like to create a pull down menu to display a sorted items, once the
item selected from the lists, then the rest of them will disappear.

Do you have any idea?
Thank you
Eric



"Ken Johnson" wrote:

Hi Eric,
Try the Advanced Filter with a tick in the Unique records only option.
DataFilterAdvanced filter...

Ken Johnson


  #4   Report Post  
Posted to microsoft.public.excel.misc
Ken Johnson
 
Posts: n/a
Default How to create menu for listed names?

Hi Eric,
That sounds like data validation where you first of all create your
sorted list of unique values using the Advanced filter then sort those
values. Then you select the range of cells that you want to have the
dropdown menu then go DataValidation then on the Settings tab sheet
pull down the "Allow:" menu and select "List" then make the "Source"
your list of sorted unique values.

Does this help?

Ken Johnson

  #5   Report Post  
Posted to microsoft.public.excel.misc
Eric
 
Posts: n/a
Default How to create menu for listed names?

"first of all create your sorted list of unique values using the Advanced
filter then sort those values."

I did that, for example
A,B,C,D,A,B,C,D then the sorted list becomes A,B,C,D,A, I don't know why the
A is duplicated in the sorted list, no matter what I finish this step.

"Then you select the range of cells that you want to have the
dropdown menu then go DataValidation then on the Settings tab sheet
pull down the "Allow:" menu and select "List" then make the "Source"
your list of sorted unique values."

I did that, the pull down menu create on the first item "A" in the list
A,B,C,D,A, but when I select any item under the pull down menu on the first
item, such as C, there is nothing change for the lists, which display
C,B,C,D,A

I would like to select C from the pull down menu, then the sorted lists will
display C,C, where two C are contained within A,B,C,D,A,B,C,D [Original list].

Do you have any idea?
Thank you
Eric


"Ken Johnson" wrote:

Hi Eric,
That sounds like data validation where you first of all create your
sorted list of unique values using the Advanced filter then sort those
values. Then you select the range of cells that you want to have the
dropdown menu then go DataValidation then on the Settings tab sheet
pull down the "Allow:" menu and select "List" then make the "Source"
your list of sorted unique values.

Does this help?

Ken Johnson




  #6   Report Post  
Posted to microsoft.public.excel.misc
Ken Johnson
 
Posts: n/a
Default How to create menu for listed names?

Hi Eric,
The duplicated item could be caused by an invisible character such as a
leading or trailing space on one and not the other.
Compare the two using the LEN function.
If leading or trailing space is the cause then you could process the
column using the TRIM function.

I think I'm still not following what it is that you are trying to do
with the dropdown menu.
What I was describing with the data validation was a way of setting up
a range of cells so that when one of those cells is selected a dropdown
arrow appears on the right side of that selected cell. The user can
then click on that arrow so that a list of all the values that are
allowed to be entered in that cell then appears. After the user
selects, from the dropdown list, the value to be entered and then
presses Enter, or Tab etc, that chosen value is entered into that
cell.Only one list value can be chosen.

If this is not what you are wanting to do then I'm am not understanding
what you are trying to do.

Ken Johnson

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
Adding buttons to a new menu bar Greegan Excel Worksheet Functions 1 April 7th 06 07:55 AM
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
How do I get LIST on the DATA menu bar-I need Create List paintedruby New Users to Excel 1 July 26th 05 03:47 AM
Create a list in one worksheet of the other worksheets' names Kelli Excel Worksheet Functions 0 July 7th 05 08:45 PM
How do I create a pivot table if the pivot table icon or menu ite. Lynn@WS Charts and Charting in Excel 1 December 16th 04 02:36 AM


All times are GMT +1. The time now is 03:31 PM.

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

About Us

"It's about Microsoft Excel"