+ Reply to Thread
Results 1 to 11 of 11

Hide Used Items in Drop Down List across multiple sheets

  1. #1
    Registered User
    Join Date
    10-10-2019
    Location
    Sunshine Coast
    MS-Off Ver
    2010
    Posts
    13

    Hide Used Items in Drop Down List across multiple sheets

    Hi all,

    I am stuck on a data drop down list that hides items once chosen.

    I have read lots of different version on how to do this and found this one shown in the link to work great for me. Can not post link properly as I am new. Hope you can access still. I have just taken out the full stops.

    www contextures com xlDataVal03.html

    Currently I have one sheet (employees) with the list of names on it and on another sheet (schedule) I have it set up to enter the data into. All working great.

    However what I would like to do (not sure if possible) is to have the drop down list on multiple sheets and it hides the items used.

    Therefore:-

    Sheet1 – Named Schedule 1 – Pick from drop down
    Sheet2 – Named Schedule 2 – Pick from drop down however with name removed already in Schedule 1
    Sheet3 – Named Schedule 3 – Pick from drop down however with name removed already in Schedule 1 and Schedule 2
    Sheet4 – Named Schedule 4 – Pick from drop down however with name removed already in Schedule 1 and Schedule 2 and Schedule 3

    Would like to do this for up to 6 different sheets.

    I have tried to move the drop down to another sheets, however it works if you choose of the list in order and not random like the example in Contextures.

    Hope that makes sense, thanks for any help you can give even if it is another way.

    Thanks,

    Matthew.

  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
    44,036

    Re: Hide Used Items in Drop Down List across multiple sheets

    You can attach your file. Other than size restrictions, there is nothing to prevent you doing so.


    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.

    Make sure confidential info is removed first!!!!
    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-10-2019
    Location
    Sunshine Coast
    MS-Off Ver
    2010
    Posts
    13

    Re: Hide Used Items in Drop Down List across multiple sheets

    Thanks Glenn,

    Hi all,

    Please find attached files.

    One of the workbook called working example and the other workbook called what I would like to do.

    Thanks,

    Matthew.
    Attached Files Attached Files

  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
    44,036

    Re: Hide Used Items in Drop Down List across multiple sheets

    You were very close....

    You did not specify how many DD boxes could appear on each sheet. So I gave you 9...

    I changed the formulae in the

    B2: =SUMPRODUCT(COUNTIF(INDIRECT("'"&Sheetlist&"'! C2:C10"),A2))
    where "Sheetlist" is a Named range, referring to the orange shaded list of sheets where the DD boxes are to be located. Use CTRL-F3 to view/edit.

    C2: =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($A$2:$A$10)/($B$2:$B$10=0),ROWS(C$2:C2))),"")

    Then just set up the DV cells on each sheet. Job done.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-10-2019
    Location
    Sunshine Coast
    MS-Off Ver
    2010
    Posts
    13

    Re: Hide Used Items in Drop Down List across multiple sheets

    Hi Glenn,

    Thank you so much. I will have a look and see how I get on with it and how I can transfer to my main workbook using this.

    Matthew.

  6. #6
    Registered User
    Join Date
    10-10-2019
    Location
    Sunshine Coast
    MS-Off Ver
    2010
    Posts
    13

    Re: Hide Used Items in Drop Down List across multiple sheets

    Hi Glenn,

    Have moved this to my main spreadsheet and it is working perfectly.

    Thank you for your fast response.

    Matthew.

  7. #7
    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
    44,036

    Re: Hide Used Items in Drop Down List across multiple sheets

    You're welcome.



    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.

  8. #8
    Registered User
    Join Date
    10-10-2019
    Location
    Sunshine Coast
    MS-Off Ver
    2010
    Posts
    13

    Re: Hide Used Items in Drop Down List across multiple sheets

    Hi Glenn,

    Have done for both.

    Just a quick questions following on from the help you have given for this problem. I have another connected to it. Is this a new post of is it something you would be happy to look at.

    Thanks,

    Matthew.

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

    Re: Hide Used Items in Drop Down List across multiple sheets

    Probably best as a new thread. I'm haven't been here much for a few days... so you'll get an answer quicker with a new thread.

  10. #10
    Registered User
    Join Date
    01-18-2024
    Location
    Moon
    MS-Off Ver
    365
    Posts
    2

    Question Re: Hide Used Items in Drop Down List across multiple sheets

    Glenn,

    How can you modify this to use in any column or cell?

    It forces use in only C column. I am guessing it has something to do with the offset function in the define names?

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Hide Used Items in Drop Down List across multiple sheets

    Quote Originally Posted by mkodysz View Post
    Glenn,

    How can you modify this to use in any column or cell?

    It forces use in only C column. I am guessing it has something to do with the offset function in the define names?
    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #1 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Hide/Unhide Sheets based on drop down list
    By toci in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-01-2016, 08:06 AM
  2. Hide Used Items in Drop Down List
    By fffleague15 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-05-2015, 12:10 PM
  3. Replies: 0
    Last Post: 04-22-2014, 11:03 PM
  4. Unhide or hide sheets based on drop down list value - need help combining these two macros
    By kstrick99999 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2012, 06:07 PM
  5. Hide previously used items from multiple drop lists
    By ron in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-25-2006, 02:55 PM
  6. Hide previously used items from multiple drop lists
    By ron in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-27-2006, 05:20 PM
  7. Hide previously used items from multiple drop lists
    By ron in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-22-2006, 02:45 PM

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