+ Reply to Thread
Results 1 to 5 of 5

Dependent Validation List - Auto Populate

  1. #1
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Dependent Validation List - Auto Populate

    Please see the attached workbook:

    How do I get the Supervisor name to auto-populate after selecting the department and employee?
    Attached Files Attached Files
    Last edited by himey77; 02-25-2011 at 11:07 PM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Dependent Validation List - Auto Populate

    Hi himey77
    you can combile index and match
    Please Login or Register  to view this content.
    fill down
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Dependent Validation List - Auto Populate

    Quote Originally Posted by pike View Post
    Hi himey77
    you can combile index and match
    Please Login or Register  to view this content.
    fill down
    That worked, thank you!!!

    Can someone please breakdown the formula so I can understand what it actually does?

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Dependent Validation List - Auto Populate

    Hi himey77,
    The formula may be easier to understand without the iF
    Please Login or Register  to view this content.
    The match returns the item/row number in the column/array
    so we ask your match (d2) to look for the name in the column of names (EmployeeColumn) and return its row number

    The index use in the row column numbers to return a cell value

    so with the row number from the match of the name we just look at the next column (ValidationLists!C:C) with the supers name and return that value

    the if statment is use to stop NA errors if no name is found

  5. #5
    Registered User
    Join Date
    01-07-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Dependent Validation List - Auto Populate

    Quote Originally Posted by pike View Post
    Hi himey77,
    The formula may be easier to understand without the iF
    Please Login or Register  to view this content.
    The match returns the item/row number in the column/array
    so we ask your match (d2) to look for the name in the column of names (EmployeeColumn) and return its row number

    The index use in the row column numbers to return a cell value

    so with the row number from the match of the name we just look at the next column (ValidationLists!C:C) with the supers name and return that value

    the if statment is use to stop NA errors if no name is found
    Thanks for your help, Pike. The explanation is much appreciated!

    "Teach a man to fish...."

+ 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