+ Reply to Thread
Results 1 to 2 of 2

Show content depending on whats chosen in dropdown

  1. #1
    Registered User
    Join Date
    11-28-2016
    Location
    Denmark
    MS-Off Ver
    365
    Posts
    10

    Show content depending on whats chosen in dropdown

    Hi,

    I have the attached list which is the sheet we use for showing who has vacation and when.

    The columns represent persons, and rows the dates.

    In sheet 2 i have assigned everyone to teams, and would like to be able to have a dropdown in sheet 1 where you can pick between those teams, and then have only those people within that team show up.

    How is this possible?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor kasan's Avatar
    Join Date
    07-22-2009
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    680

    Re: Show content depending on whats chosen in dropdown

    Hi,
    One options might be:
    - make sure all names in both sheets are the same (employee names)
    - create ActiveX combobox with team names
    - write code for combobox change event:
    After you choose name of the team you need to find coresponding column in sheet2
    Then you should loop through all your columns in sheet1 and check if current name is in the list of employees in sheet2: if not - hide current column.

+ 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] Total count of employees depending on chosen manager
    By Harvey Raphael in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-17-2014, 03:44 AM
  2. Replies: 7
    Last Post: 06-25-2013, 06:59 AM
  3. Adding a value depending on Drop-down-list chosen value
    By freaken00 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-23-2013, 05:24 AM
  4. Replies: 0
    Last Post: 11-12-2012, 10:33 AM
  5. Copying data depending on chosen date to another worksheet
    By Bishonen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2012, 08:22 AM
  6. Output value based on what is chosen in dropdown list
    By russell.suereth in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-03-2011, 09:51 AM
  7. Increasing Values by % chosen from a dropdown list/box.
    By jmadsen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-01-2011, 11:28 AM

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