+ Reply to Thread
Results 1 to 3 of 3

Dependent drop-down list with if conditions

  1. #1
    Registered User
    Join Date
    05-30-2017
    Location
    UAE
    MS-Off Ver
    OFFICE 365
    Posts
    1

    Post Dependent drop-down list with if conditions

    Hi,

    I have a problem with the dependent dropdown list.
    For eg, if the value of cell A1<5; then cell B1 should have a drop-down list of 'Names". And if cell A1>5; then cell B1 should have a drop-down list of "Departments".

    I would like to know how to do this...

    Thanks,

    Saleem.

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: Dependent drop-down list with if conditions

    Assume you have Name list in H & Dept in I column

    F1
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In Drop down

    put
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    then ok

    Look at the attached file.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,802

    Re: Dependent drop-down list with if conditions

    Create named ranges called "Names" and "Departments"

    in Data Validation

    Allow: List
    source: =IF(A1<=5,Names,Departments)

    Check test is "<=" or">="

+ 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. Dependent drop down in excel table 2 conditions
    By faodavid in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-15-2016, 12:57 PM
  2. [SOLVED] Clear up to three dependent drop down lists based on selection in superior drop down list
    By theletterh in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-04-2016, 09:31 PM
  3. Dependent Drop Down list to autofill next drop down with selective choices
    By MitchellHydro1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-08-2015, 01:18 PM
  4. [SOLVED] Dependent Drop down list with DEPENDENT DEFAULT VALUE
    By ginieman in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-28-2013, 03:56 AM
  5. [SOLVED] Suppress drop-down list dependent on value chosen in another drop-down list
    By ptmald in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2013, 07:17 PM
  6. [SOLVED] Column B drop down list with 2 options, columns C & E with dependent drop down lists
    By betic in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-26-2012, 03:47 PM
  7. [SOLVED] Dependent Drop down list with DEPENDENT DEFAULT VALUE (e.g. Blank)
    By Waqar Ali in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-26-2012, 06:31 AM

Tags for this Thread

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