Results 1 to 6 of 6

Dependent Drop Down List

Threaded View

  1. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Dependent Drop Down List

    P_Bennett,

    Attached is a modified version of your posted workbook. It contains the following changes:
    1. Sorted the Projects table by project.
    2. Created a named range "ProjectList" using formula:
      =Table_Query_from_COMPASS_APP[project]
    3. Sorted the Subcontracts table by project and then by subcontract.
    4. Created a named range 'SubContractList' using formula:
      =Table_Query_from_COMPASS_APP3[project]
    5. Used the ProjectList named range as the data validation list for sheet 'Data Entry' cells A6:A13
    6. Created a data validation list in sheet 'Data Entry' cells D6:D13 by using this formula:
      =IF($A6="","",OFFSET(SubContractList,MATCH($A6,SubContractList,0)-1,1,COUNTIF(SubContractList,$A6)))
    7. Retrieved the Subcontract Name in sheet 'Data Entry' cells E6:E13 by using this formula:
      =IF(OR(A6="",D6=""),"",INDEX(Table_Query_from_COMPASS_APP3[Name],MATCH(1,INDEX((Table_Query_from_COMPASS_APP3[project]=A6)*(Table_Query_from_COMPASS_APP3[subcontract]=D6),),0)))
    Last edited by tigeravatar; 06-06-2012 at 03:17 PM. Reason: Had to reupload attachment
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

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