+ Reply to Thread
Results 1 to 2 of 2

Remove items from DV list once used, display elsewhere. Reset list when filling across.

  1. #1
    Registered User
    Join Date
    09-13-2013
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel Mac 2011
    Posts
    1

    Remove items from DV list once used, display elsewhere. Reset list when filling across.

    Hi All,

    Been searching the past couple of days to try and come up with a solution for this, and I'm getting closer.
    Looks like the main component of what I want to do can be done using data validation and countif, but I keep confusing myself when trying to transpose it from the example spreadsheets to my own.
    There's also a few other variables that will need to be considered. I think I know how I can deal with them though so they're not as important.

    It's a quarterly schedule for utility meter readers, divided up into days across the top, and routes/areas down the side.
    There's a space with each route for the employee ID to go, depending on who's doing it.
    Down the bottom of the sheet, there's a few empty lines for all the available employees who haven't been allocated to a route.
    On the second sheet labelled EMP LIST, is all the employee IDs. It's also got the areas they work- it's for something I want to implement later.

    I can put all the employees into a single column list, then use basic DV to give a dropdown menu by each route, to assign an employee to it. This is pretty straight forward. I've also been playing with this in combination with a countif, so that employees already assigned do not appear in the list.
    This is about as far as I've managed to get with it.

    I need to get the employees who aren't assigned to anything to appear in a list below the routes. I'm fairly sure this is just another countif, but I'm not 100% on the exact formulas.
    I also need the list in the dropdown menu to reset for each day of the quarter, i.e. if I assign an employee to a route on the 30th day of the quarter, their ID will disappear from the list for any other route for that day, but will still be there for the other days of the quarter.
    So far the only way I've managed to do this is by duplicating the employee list for every day of the quarter, which is going to get very cluttered, and also makes staffing changes difficult. I'm hoping there's an easier way to do this using one data set.

    I've added an example of the sheet. It's one week and it's only got about 1/3 of the routes we would actually have on any given day.
    Any help would be much appreciated. If it can be done VBA-free, even better.

    scheduledemo.xlsx

  2. #2
    Registered User
    Join Date
    03-19-2013
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Remove items from DV list once used, display elsewhere. Reset list when filling across

    There is a very helpful guide on how to do this which can be found here:

    http://www.contextures.on.ca/xlDataV...tml#listunused

    I include a simplified version of your spreadsheet which will hopefully demonstrate how you might do it in your application.
    Attached Files Attached Files

+ 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: 2
    Last Post: 08-23-2011, 08:55 PM
  2. Replies: 4
    Last Post: 09-21-2010, 06:24 PM
  3. cleaning up my list - remove items in the list
    By tmssj2000 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-06-2009, 02:00 AM
  4. Combo Box - Display Unique Items in List
    By Gary S in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2007, 11:15 AM
  5. remove items from list box (sorry it`s a bit long)
    By bahadirakcan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-10-2006, 08:11 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