+ Reply to Thread
Results 1 to 8 of 8

Drop down list for Vehicles

  1. #1
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Cool Drop down list for Vehicles

    Hi All,
    I would like to create a dropdown list in the 'Substitute Vehicle' column. The list must show all 'Substitute vehicles' except those whose 'Date out' has been recorded but the Date in is still blank.
    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Drop down list for Vehicles

    see attached workbook

    - sheet3 contains table of values
    - source for DataValidation in (sheet1)columnB is amended to NamedRange "Available"
    - NamedRange "Available", RefersTo formula is
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Drop down list for Vehicles

    That's not what I want.. Why would I enter DateOut and DateIN in both Sheets Sheet1 and Sheet3..??
    Last edited by alipezu; 02-13-2018 at 12:04 AM.

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Drop down list for Vehicles

    Your workbook does not contain much data - and no vehicle is currently listed more than once.
    Will the list on sheet 1 include the same substitute vehicle more than once?
    Are you using Excel 2007?
    Thanks

  5. #5
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Drop down list for Vehicles

    This is just a sample workbook. In my original workbook there are thousands of records where the vehicles and substitute vehicles are existing many times.
    I am using Excel 2010.

    As shown in the figure below the substitute vehicle CCC985 and CCC120 have Dates Out only and must not be displayed in the drop down..

    Untitled.png
    Last edited by alipezu; 02-13-2018 at 02:19 AM.

  6. #6
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Drop down list for Vehicles

    see attached workbook

    The list of available vehicles for the dropdown is in ColumnC on Sheet2
    - column C is blank if vehicle is not available

    The formula is an array formula, which must be committed with {CTRL}{SHIFT}{ENTER}
    In C2 copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    It will not work if you try to type in the curly brackets { }
    but the formula should look like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The data validation (Sheet1) column B has Source: =Available

    Available is a dynamic NamedRange with RefersTo:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kev_; 02-13-2018 at 04:57 AM.

  7. #7
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Drop down list for Vehicles

    Its perfect now!! Thank you so much for the great help!!

  8. #8
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Drop down list for Vehicles

    You are welcome. Thanks for reps and for marking thread SOLVED

+ 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] Duration of Parked Vehicles
    By keshav4075 in forum Excel General
    Replies: 5
    Last Post: 03-17-2015, 02:05 PM
  2. Populate Drop-down list based on selection from previous drop-down list
    By Diventus in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 01-11-2013, 10:55 AM
  3. Populate Drop-down list based on selection from previous drop-down list
    By poison_stone in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-11-2012, 06:10 PM
  4. Replies: 3
    Last Post: 04-16-2012, 10:14 PM
  5. Allocating vehicles to times
    By tessda in forum Excel General
    Replies: 2
    Last Post: 10-15-2008, 05:52 PM
  6. Formula Help: Vehicles On Railcars
    By meyerstc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2006, 01:50 PM
  7. Replies: 5
    Last Post: 10-27-2005, 01:55 PM

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