+ Reply to Thread
Results 1 to 6 of 6

Creating a Dependent Validation List

  1. #1
    Registered User
    Join Date
    09-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    46

    Creating a Dependent Validation List

    I am trying to create a dependent validation that will allow me to have a list of account numbers and a list of associated names. I want to be able to pull up the name of the account (from sheet "Accounts" column c) in one cell and have the account number (from sheet "Accounts" column B) come up automatically (or as a dependent drop down menu item) in the second cell. What is the best way to set this up?

    In the attached example, I want fields in row 9 columns C-K to have a list of options from column C on the "accounts" worksheet and the fields in row 10 columns C-K to pull up the account number from column B on the "accounts" worksheet. If I put "Machinery & Equipment" into field 9C, I want to have 10C read "354451".
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Creating a Dependent Validation List

    The following formula in C10 should work:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please click the * icon below if I have helped.

  3. #3
    Registered User
    Join Date
    09-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Creating a Dependent Validation List

    I can't seem to get it to work. It keeps returning "$-".

  4. #4
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Creating a Dependent Validation List

    I am not sure what the story is with your file. When you type in a formula, it literally replaces the formula with a different value. If you remove the formatting, or validations, it should work.
    I tried the formula on a different sheet without the formatting and it worked.

  5. #5
    Registered User
    Join Date
    09-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Creating a Dependent Validation List

    Ok. I converted the tables to a range and now it works perfectly! Thanks so much!

  6. #6
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Creating a Dependent Validation List

    No Problem. I'm glad you posted a sample workbook. It would be very difficult to figure out that formatting issue without it.
    Remember to change the post to "solved" (under "Thread Tools" in the top right corner").

+ 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