+ Reply to Thread
Results 1 to 4 of 4

Drop Down List (Data validation )_vlookup_I need to chose from anther list

  1. #1
    Registered User
    Join Date
    09-29-2013
    Location
    Egypt,Giza
    MS-Off Ver
    Excel 2003
    Posts
    78

    Drop Down List (Data validation )_vlookup_I need to chose from anther list

    Hallo

    In the sheet attached , you will see that i prepped schedule for drivers and the car has two driver so i made list of the cars at (sheet 2) and i repeated the numbers of the cars in front of the name of the driver as i sad the one car used by two driver one day for each one and in (sheet 1 ) In column D i did data validation drop down list and in the C column you will see that i did formula to vlookup and get the number of the car which the driver assign to this car , the problem here if one of the drivers drive anther car during the month i need to make column c has also availability to chose from the list of the cars which i prepared in the sheet 2 column (B)

    Thanks In advance
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Drop Down List (Data validation )_vlookup_I need to chose from anther list

    I am not certain that I have interpreted correctly. So I am guessing somewhat.

    In column I of sheet2 I made a list of unique car IDs. They are the data validation list for the new drop downs in column C of sheet1.

    In cell J2 of sheet2 I array-entered this formula and filled / copied down and across to K39:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Array enter means the formula must be committed by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    Referencing the array range in sheet2 I redefined the drop down validations in column D of sheet1 to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    in Data Validation Manager Source text box.

    Now when you select a car ID in column C the drop downs in column D are limited to those drivers assigned to that car.

    Does this do what you want?

    And I must ask: Though your profile says Excel 2003 your uploaded file is an *.xlsx file. If backwards compatibility is to be considered my array formula in sheet2 will need to be reworked. Excel 2003 does not recognize the IFERROR function. Do you require backwards compatibility?

    The file is attached.
    Attached Files Attached Files
    Dave

  3. #3
    Registered User
    Join Date
    09-29-2013
    Location
    Egypt,Giza
    MS-Off Ver
    Excel 2003
    Posts
    78

    Re: Drop Down List (Data validation )_vlookup_I need to chose from anther list

    hi , im using excel 20007 ,i saw what you mad on my sheet , i want when i enter the car id in sheet 1 cell c , i have to see drop down with two drivers and button chose from main list if third driver used the car during the month , if these is exist in excel ,,, thanks

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Drop Down List (Data validation )_vlookup_I need to chose from anther list

    I have changed the lookup / data validation formula in sheet 2 to include column P and also changed the range of CarID definition to accept additional driver assignments. That range is now B2:B1000.

    To demonstrated I added a fictitious driver to the end of the DriverName list in sheet 2 assigned to car 7672. That additional driver now shows up in the lookup / data validation list in sheet 2 and therefore in the drop down of D2 in sheet 1 when car 7672 is selected in cell C2.

    The workbook is attached.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Data Validation, Drop Down list, sub list and sub sub list.
    By krackers in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-14-2018, 10:53 AM
  2. Vlookup to chose correct list depending on a drop down list selection
    By Bandit_750 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-06-2015, 06:22 PM
  3. Replies: 1
    Last Post: 08-12-2014, 01:37 AM
  4. Replies: 1
    Last Post: 09-05-2012, 11:39 AM
  5. drop down list that will filter on anther worksheet
    By adias49 in forum Excel General
    Replies: 0
    Last Post: 01-14-2012, 11:09 AM

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