+ Reply to Thread
Results 1 to 9 of 9

How to pull from a sample set?

  1. #1
    Registered User
    Join Date
    03-23-2006
    Location
    Colorado, US
    MS-Off Ver
    2010 (14.0.7268.5000)
    Posts
    22

    How to pull from a sample set?

    I know this is possible, but don't know the exact terminology or how to do it. This is for a box office project that I know could be more efficient. As of now for every single show we are typing in every single name on the reservation list (even though it's the same set of 200 people in the theatre department for every show)

    Basically, I have a long set of names from a Box Office list. What I want to do is "pull" from that list for a particular evening's show.

    For example, for the show on 1-15-07 in row 1 cell 1, if I start typing "John Smith" it will auto-suggest "John Smith" by the time I get to "Jo."

    Here's the kicker: I also need to be able to add new names. They don't have to go into the "sample set." But they have to be entered if needed - I can't be limited to ONLY the names in the sample set.

    Sorry if this is hard to understand - I'm trying to describe what I need clearly. If you need clarification let me know!

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    Possible alternative???

    Set up a sheet with
    an alphabetized list of the names down the left column
    and show dates across the top.
    Freeze Panes at the first blank cell so you always see the Names column and the ShowDates row.

    Then....
    you could use autofilter to quickly locate the names
    and enter an "x" in the name/showdate intersection

    If you ever needed a list of names by show date
    you could just autofilter for an "X" in the specific show date

    Is that something you could work with?

    Regards,

    Ron Coderre
    Microsoft MVP - Excel

  3. #3
    Registered User
    Join Date
    01-10-2007
    Location
    NJ
    Posts
    19

    Data Validation

    The function to do this is VALIDATION (under the data menu).

    Try this: make a list of people in a column that is out of the way.
    Select the cell where you want the dropdown to appear.
    Got up to the menu: Data>Validation
    The validation criteria (on the settings tab) is Allow:List
    Click in the Source Box, and or the red/blue/white list icon, and then select your whole personnel list. Now go to the Error alert tab and clear the checkbox which says stop on error. You want to ignore errors (people not on the list).
    Be sure to leave one blank cell at the top of the list, so you can leave the box empty. Leave the pick cell on blank, and then copy it downward on the tab as far as you like. Now each cell has a dropdown in it when selected.

    Now you have a drop down list which you can edit whenever you want, but more important, if the person doesn't exist on the dropdown, you can type in anything you want, and Excel won't choke on it. Continue on your merry way.
    Last edited by Pharm_hand; 01-10-2007 at 04:39 PM.

  4. #4
    Registered User
    Join Date
    03-23-2006
    Location
    Colorado, US
    MS-Off Ver
    2010 (14.0.7268.5000)
    Posts
    22
    Pharm_hand -

    Thanks for the help! That's the kind of thing I need, but perhaps tweaked....

    Following your steps gave me a dropdown in each cell where I could choose names from my pre-written list. This is perfect, except what I need is to have Excel auto-complete my typing based on the values in the list. Using a mouse to choose from a drop-down doesn't save me any time. Does that make sense? And if so - is there a way to get it to work this way?

  5. #5
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    In order to use AutoComplete, take a look at the brilliant solution offered by Debra ...
    http://www.contextures.com/xlDataVal11.html
    HTH
    Carim


    Top Excel Links

  6. #6
    Registered User
    Join Date
    03-23-2006
    Location
    Colorado, US
    MS-Off Ver
    2010 (14.0.7268.5000)
    Posts
    22
    Carim -

    Thanks for the link! That definately got auto-complete working, but it looks like you have to do it in a combo-box. Unfortunately, this means you have to double-click in the cell to use it, and then you can't Tab or Enter out of the box - just as slow.

    Basically I need that auto-complete in a "normal" validated list somehow...without touching the mouse

    Any ideas?

  7. #7
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi again,

    Unfortunately, AutoComplete is not possible in "a normal validated list without touching the mouse " ...
    May be Excel 2007 has this feature built-in ...

  8. #8
    Registered User
    Join Date
    03-23-2006
    Location
    Colorado, US
    MS-Off Ver
    2010 (14.0.7268.5000)
    Posts
    22
    That sucks.

    I think I found a work-around for now. I'll just cut-and-paste my list of 400+ names into the sheet in my template, HIDE those rows, then any name I start typing will be auto-completed from the values in the hidden rows.

    The only thing I lose this way is a nice "central" list that every new document could pull from. This way I'll have to cut-and-paste for every new document I create. (though I suppose I could do a macro for that

    Thanks for everyone's help!

  9. #9
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    You are right ...

    It is the ONLY possible work-around ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1