+ Reply to Thread
Results 1 to 13 of 13

Dependent Drop Down List In Excel

  1. #1
    Registered User
    Join Date
    06-02-2016
    Location
    Sydney
    MS-Off Ver
    2021
    Posts
    28

    Dependent Drop Down List In Excel

    Hello,

    I have been trying to create a dependent drag down list however unable to drag it down throughout the whole column.

    As shown in the picture, when I select the Column F (Area) it gives me a list of options to choose from in Column G (Sub-Area) however I am not able to drag down past 1 cell.

    I used the xlookup function to find the relationship between Area and Sub-Area (=UNIQUE(XLOOKUP($F7,$BQ$1:$CH$1,$BQ$2:$CH$87),,TRUE))

    I want to be able to replicate the F7 cell function and drag it till F1000 but simultaneously the Column G should match.

    I hope my question makes sense.

    ANy help would be much appreciated.

    Capture.PNG
    Last edited by asmita.nda; 12-01-2021 at 08:18 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Dependent Drop Down List In Excel

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Dependent Drop Down List In Excel

    an actual workbook is much easier to give a good answer as we cannot see the cell references, see the yellow banner

    https://trumpexcel.com/dependent-dro...list-in-excel/ is one way with names ranges

    the other is along the lines of offset($BP$2,0,match(F7,$br$1:$ch$1,0),100,1)

    you match the column with the dropdown values in and then it is the range for the dropdown

  4. #4
    Registered User
    Join Date
    06-02-2016
    Location
    Sydney
    MS-Off Ver
    2021
    Posts
    28

    Re: Dependent Drop Down List In Excel

    I've attached my sample workbook for better referencing
    Attached Files Attached Files

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Dependent Drop Down List In Excel

    Thanks. Please update your forum profile, which is clearly out-of-date. Thanks.

  6. #6
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Dependent Drop Down List In Excel

    I think I solved your problem:

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

  7. #7
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Dependent Drop Down List In Excel

    This one can do the job too:

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

  8. #8
    Registered User
    Join Date
    06-02-2016
    Location
    Sydney
    MS-Off Ver
    2021
    Posts
    28

    Re: Dependent Drop Down List In Excel

    Thankyou so much.

    Would you be able to explain - where did you put this formula on the sheet?

  9. #9
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Dependent Drop Down List In Excel

    you would go to cell g7 and put it in as the data validation as the range for the list

  10. #10
    Registered User
    Join Date
    06-02-2016
    Location
    Sydney
    MS-Off Ver
    2021
    Posts
    28

    Re: Dependent Drop Down List In Excel

    Thankyou all!

    Much much appreciated.

  11. #11
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Dependent Drop Down List In Excel

    It is in the validation itself.
    It basically does the same of what you were achieving, but the OFFSET function cuts the extra blank spaces.
    Notice that I also cleaned the blank cells bellow the itens of the list.

    See a video about it:
    https://www.youtube.com/watch?app=de...ature=youtu.be
    Last edited by DJunqueira; 12-01-2021 at 08:11 AM.

  12. #12
    Registered User
    Join Date
    06-02-2016
    Location
    Sydney
    MS-Off Ver
    2021
    Posts
    28

    Re: Dependent Drop Down List In Excel

    THanks DJunqueira,

    however when I copy/paste your formula in another sheet - the blank cells below the items still exist.

    I thought if you use the CountA function, it should automatically remove from the list.

  13. #13
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Dependent Drop Down List In Excel

    As I told you I needed to clean the cells bellow the itens because they were not really empty.
    You need to check if the cells are really empty otherwise it won't work. An easy way to do it is by substituting cells that you think might not be empty for new cells, dragging them.

    A test that you can do, select a large range bellow the itens, press F5, select the button special and then select Blank, the range that is still highlighted is the one that does not contain spaces or any other form of invisible character.
    Last edited by DJunqueira; 12-01-2021 at 09:21 AM.

+ 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. Replies: 6
    Last Post: 01-07-2021, 12:05 PM
  2. 3 level dependent drop-down list in excel
    By TJ7009 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-01-2020, 04:57 AM
  3. Error in cascading (dependent) Excel drop down list
    By tigergutt in forum Excel General
    Replies: 7
    Last Post: 02-24-2020, 10:35 AM
  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] Excel 2007 : Prevent reference in dependent drop down list from changing
    By electrohead in forum Excel General
    Replies: 1
    Last Post: 07-17-2012, 01:56 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