+ Reply to Thread
Results 1 to 20 of 20

Drop Down Lists

  1. #1
    Registered User
    Join Date
    10-15-2017
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    9

    Red face Drop Down Lists

    Hello,

    I'm currently trying to create an excel file where someone can choose a word from a drop down list and data populates regarding that name. for example:
    Drop down selection: Purple

    Data populates a list that includes: flower, plum, shirt.

    ive looked at advanced filter, conditional drop drowns, and pivot tables and im not finding something that works. im using this in a call center setting and using it for people to see their assignments by choosing a key word.

    any help would be appreciated.

    thank you,
    angela.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Drop Down Lists

    Is this the sort of thing you wanted?

    It is dyanmic, as you add names to the list they are automatically availble in the drop downs.

    happy to explain.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    10-15-2017
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    9

    Re: Drop Down Lists

    Hi!

    thank you so much for your response. im not sure if thats exactly what i am looking for. i tried to attach a mini version of my idea, but it wasnt working. there are names, and tasks. and if theres a way to be able to choose the name from the drop down list and the tasks shows up, that is what my goal is. im not sure if its a dynamic or data validation dependent list.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Drop Down Lists

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  5. #5
    Registered User
    Join Date
    10-15-2017
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    9

    Re: Drop Down Lists

    lets try again
    Attached Files Attached Files

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Drop Down Lists

    Ok. More explanation is needed. You haven't really told me much. I have set up a basic drop down for agent name in I2 to I6. What do you expect to appear and where do you expect it to appear?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-15-2017
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    9

    Re: Drop Down Lists

    Yeah, let me see if i can explain this better. So from the drop down, if i chose Kaira, is there way for the task "Processes" show up. and then if i chose Kristin "End of day and Over View" to show up without the tasks being visible prior to choosing a name from the drop downs? i have color coded the names and the tasks and have attached them.
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Drop Down Lists

    Next Q. In your real data , how many agents are there?

    In your real data, how many ROWS of these two-tier dropdowns do you need MAXIMUM?

    There are a couple of ways forward, but the practicality of each/either/both depends on the answers to these Qs.

  9. #9
    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,466

    Re: Drop Down Lists

    How is Excel supposed to know which tasks belong to which person?
    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.

  10. #10
    Registered User
    Join Date
    10-15-2017
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    9

    Re: Drop Down Lists

    I have 50 agents and 363 task assignments. The maximum number of tasks assigned to one agent is 29 (so that would be 1 task per row, i believe)

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Drop Down Lists

    I am getting a bad feeling about this one... If this is not what you want, I will have one further Q... Q2, re-phrased, as you didn't quite answer the Q that I had asked.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    10-15-2017
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    9

    Re: Drop Down Lists

    Thats exactly what i was looking for! thank you so much, how were you able to complete that?

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Drop Down Lists

    I am out for 2 hours. here is a final version

    Column A automatically alphabetically sorts the unique names from column C. Add a few more agents and tasks.

    The range in the formula in column K will aso automatically adjust as new agent/tasks are added.

    Check it over and add new agents/tasks in C&D. I will explain when I get back.
    Attached Files Attached Files

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Drop Down Lists

    Formulae generating the lists are set to work for 1000 rows.

    Behind the scenes there are two Named Ranges. (CTRL-F3 to view). These dynamically adjust the ranges in column C - the list of all the agents, which occur several times) which is used by the formula that produces the data in column A. The other one is in column A, that is used by the data validation formula in column k.

    All_Agents
    =Sheet1!$C$2:INDEX(Sheet1!$C$2:$C$1000,COUNTA(Sheet1!$C$2:$C$1000))
    This selects the range from:

    Red: C2
    Green: Down column C
    Orange: as far as the last non-blank cell

    Then in A2, an array formula returns the alphabetically sorted list of unique agents:
    =IFERROR(INDEX(All_Agents,MATCH(0,COUNTIF(All_Agents,"<"&All_Agents)-SUM(COUNTIF(All_Agents,"="&A$1:A1)),0)),"")

    This is quite complicated!! But in essence:

    Red: it looks at the dynamic range of all agent names
    Orange: this bit sorts them alphabetically
    Green: and this bit ensures that no value is repeated.

    Unique_Names. Then, this named range selects the sorted names:
    =OFFSET(Sheet1!$A$2,,,SUMPRODUCT(--(LEN(Sheet1!$A$2:$A$1000)>0)))

    It does the same thing as the earlier one... however, I had to use a different formula as the "blank" rows contain formulae and the same type of formula used for All_Agents would include all the blanks.

    Data Validation in J2

    dat/Data Validation. List is selected and references Unique_Agents

    Results in K2, another array formula: (drag down as far as needed):

    =IFERROR(INDEX(D:D,SMALL(IF(All_Agents=$I$2,ROW(All_Agents)),ROWS(K$2:K2))),"")

    Red: look down the list of unique agents and find those equal to the selected value.
    Orange: return the row numbers
    Green: return them in ascending order
    Blue: return the corresponding value(s) from column D
    Black: otherwise return a blank.



    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...

    Use the formulae in THIS file, as I made one small change over the previous version.





    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 10-16-2017 at 04:10 AM.

  15. #15
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: Drop Down Lists

    If I understand...
    Maybe like in attach.
    Attached Files Attached Files

  16. #16
    Registered User
    Join Date
    10-15-2017
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    9

    Re: Drop Down Lists

    yes, just like that! i appreciate the information on the way it works, but is there a way i can get information on how to create that in my own excel file?

  17. #17
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Drop Down Lists

    Ang. Who are you talking to?

  18. #18
    Registered User
    Join Date
    10-15-2017
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    9

    Re: Drop Down Lists

    both. your information was super helpful, im just having trouble editing your file with the information i need, so i was just hoping i could get an explanation on how. or where im going wrong. when i edit the names in your file, it doesnt adjust the information with the drop down.

  19. #19
    Registered User
    Join Date
    10-15-2017
    Location
    Arizona
    MS-Off Ver
    2016
    Posts
    9

    Re: Drop Down Lists

    the other reply, i was able to edit, but it doesnt show enough room for the tasks when i edit.

  20. #20
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Drop Down Lists

    I can't help unless I see what you have done...

+ 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: 11
    Last Post: 10-08-2021, 04:55 AM
  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. [SOLVED] data validation lists - drop down lists too small
    By reglook0736 in forum Excel General
    Replies: 3
    Last Post: 04-24-2015, 12:49 PM
  4. Dependent drop down lists without creating unique named lists
    By pajordan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 12:20 PM
  5. [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
  6. drop down lists referencing tables creating other drop down lists!!
    By Stumped- in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-07-2009, 11:29 AM
  7. Lists, how to make drop-down lists optional
    By HarvardMajesty in forum Excel General
    Replies: 2
    Last Post: 05-13-2009, 10:23 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