+ Reply to Thread
Results 1 to 4 of 4

Adding Values to Drop Down Menu Text Options

  1. #1
    Registered User
    Join Date
    05-08-2010
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Adding Values to Drop Down Menu Text Options

    Hi folks,

    I'm new here (and to Excel as well!) and would appreciate some help.

    I'm trying to add numerical values to the text that I have put in a drop down list, I had a look about and followed the advice given in this thread. However, as soon as I put more than 3 entries into a formula like this:

    =LOOKUP(A1,{"Freshman","Sophomore","Junior","Senior"},{"1","2","3","4"})

    It returns a #N/A value for most of the entries, and does not assign the correct values to the text.

    I've checked that all the spelling etc. matches, and am at a bit of a loss. I'm trying to use a list of 14 names, and assign the relevant points value to them. It's for creating a homebrew Army Builder.

    Many thanks
    Last edited by Hammie; 05-08-2010 at 03:18 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help Appreciated

    Welcomed to the forum, Hammie.

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Adding Values to Drop Down Menu Text Options

    you must arrange them in ascending order
    =LOOKUP(A1,{"Freshman","Junior","Senior","Sophomore"},{1,3,4,2})
    Last edited by martindwilson; 05-08-2010 at 02:56 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    05-08-2010
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Adding Values to Drop Down Menu Text Options

    Quote Originally Posted by martindwilson View Post
    you must arrange them in ascending order
    =LOOKUP(A1,{"Freshman","Junior","Senior","Sophomore"},{1,3,4,2})
    Many thanks, it's much appreciated.

+ 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