+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Creating an output from a data validation drop down

  1. #1
    Registered User
    Join Date
    09-09-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Creating an output from a data validation drop down

    Hi, I am trying to create an output of a job description from a data validation drop down box that contains job numbers. What is the best way to do this?

    Do i need to be using a combo box from the developer tab or is the data validation table ok to use?


    Regards

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Creating an output from a data validation drop down

    So a DV drop box displays a list of job codes in a cell and you select one, you want the job's "description" to appear automatically in an adjacent cell on that row?

    The data itself all needs to be in a lookup table somewhere. Then give a named range to the column with the codes (highlight the range and type in CODES in the name box), then highlight the matching range of descriptions and name it JOBDESC.

    Use the CODES as the source list for a data validation drop down in the first cell/column.

    Then use a standard lookup formula in the second cell, something like:
    =INDEX(JOBDESC, MATCH($A2, CODES, 0))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-09-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Creating an output from a data validation drop down

    Thanks for the reply. I am at work now so will give that a go and report back.

  4. #4
    Registered User
    Join Date
    09-09-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Creating an output from a data validation drop down

    Hi, I have followed your instructions however the formula does not work at the moment. I think it is because of the cell selection that in your example is "A2". What does this cell need to be in my table?

    Also can I use the "0" that you have used at the end of your furmula?

    Thanks

  5. #5
    Registered User
    Join Date
    09-09-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Creating an output from a data validation drop down

    Just got it to work, thank you very much for your help.

    Regards

    Craig

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Creating an output from a data validation drop down

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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