+ Reply to Thread
Results 1 to 11 of 11

Making a List

  1. #1
    Registered User
    Join Date
    10-13-2010
    Location
    Malvern, AR
    MS-Off Ver
    Excel 2003
    Posts
    49

    Exclamation Making a List

    Hey everyone,

    I have a list that is similar to this: Colum A: Employee Name, Column B: Manager.

    I am needing to use the data validation feature in excel to make a list of employees depending on what manager they select. There are about 250 employees and 25 managers. Is there an easy way I can do this? I have tried everything: LOOKUP, INDEX, OFFSET and cannot seem to get it.
    Last edited by ChrisKader; 10-13-2010 at 11:11 PM.

  2. #2
    Registered User
    Join Date
    10-10-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003, 2007 & 2010
    Posts
    88

    Re: Making a List

    Your list will need the Manager in the first cell (whether row or column), with all Employees under them to be listed in subsequent cells after that. You will then be able to use either VLOOKUP (for rows) or HLOOKUP (for columns) to populate a list below your Data Validation control depending on the Manager selected.

    A macro to regulate how Employees are listed according to their Manager will help you control your source data.

    Please attach an example workbook.

  3. #3
    Registered User
    Join Date
    10-13-2010
    Location
    Malvern, AR
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Making a List

    I am currently using an HLOOKUP but it is not working in the way it needs to. Pretty much, I need to be able to copy my "Roster" with Team Assignments into the sheet and everything kinda "Meld". Currently, I am having to convert all teams from columns into rows.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-10-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003, 2007 & 2010
    Posts
    88

    Re: Making a List

    Attached is a possible solution.

    Hope it helps.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-13-2010
    Location
    Malvern, AR
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Making a List

    I want to do a VLOOKUP, but data validation wont let me use that.

  6. #6
    Registered User
    Join Date
    10-10-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003, 2007 & 2010
    Posts
    88

    Re: Making a List

    Aha! I think I know what you mean now. Give the attached a go.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-13-2010
    Location
    Malvern, AR
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Making a List

    Column A: Agent Name
    Column B: Team Manager

    Cell C1: TM Name
    Cell C2: Agents assigned to this TM.

  8. #8
    Registered User
    Join Date
    10-10-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003, 2007 & 2010
    Posts
    88

    Re: Making a List

    Did you try out the attached file in my last post?

    Cell J11 allows you to pick a TM Name from a drop-down list, which then makes it possible for you to select Agents assigned to that TM from another drop-down list in Cell J12.

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Making a List

    I have a pretty cool trick DV formula for putting all the employees for one manager in a DV drop down.

    Take a look. There are dynamic named ranges on sheet "Lists" and dynamic DV and Conditional Formatting on Sheet1.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  10. #10
    Registered User
    Join Date
    10-13-2010
    Location
    Malvern, AR
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Making a List

    Dude. I want to kiss your feet right now lol. I am gonna mess with this, but I pasted my roster over yours (Replaced managers and employees with mine) and it looks like it works. THANK YOU!!!!

  11. #11
    Registered User
    Join Date
    10-13-2010
    Location
    Malvern, AR
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Making a List

    If possible, please mark this as solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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