+ Reply to Thread
Results 1 to 3 of 3

Unique site ID form selection list tht shows only availble site ID's

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    Amsterdam
    MS-Off Ver
    Excel 2016
    Posts
    25

    Unique site ID form selection list tht shows only availble site ID's

    Hello, If possible I would like to get some help to finalize my excel sheet.
    I would like to achieve to Select a unique SIDE ID based the country.
    If a side ID is already in use, it is not showing anymore in the data validation list.
    I have this working only for 1 country (NL)
    But I hope to make the Data validation list flexible based on the country that has been chosen

    In Column “b” on the LIST workbook, you select a country.
    Based on this selection it is showing the selection list for a Unique side ID in Column C (Format is country code + LOC (for location) and a number between 001 and 999

    As said I have this working for One list (NL), but when I get more and more countries It is not manageable anymore. My foist thought was to make it dynamic based on the Country chosen, But I don’t know how to change the selection in the Name manager based on the chosen country.

    My WORKSHEET contains already 9 countries I would like to use (but this can grow in the future also)

    Maybe this direction is not the right way either, so if you also have another ID it would be much appreciated.

    Thanks for helping me out already.

    Emoes
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,825

    Re: Unique site ID form selection list tht shows only availble site ID's

    I defined new name as a country code in the cell one to right from a current cell:
    CT_in_Right_Cell
    Note that to check this formula properlu you shall have active cell in column C of your LIST sheet (the formula in this name uses relative adressing (no dollar signs)
    And then added MATCH function (this CT_in_Right_Cell in header of table of available to your OFFSET in the NameCheck.
    Note that also the count function is now used with OFFSET (in columns *2) because we are counting available rows (these with no numbers next to them).

    I deleted some rows from columns S and next in a LIST to make the changes visible and testing easier

    So the NameCheck is now:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It could be further simplified by changing origins for both OFFSETs, probably to:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    so removing -1 and -2 but I haven't tested it
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    10-16-2012
    Location
    Amsterdam
    MS-Off Ver
    Excel 2016
    Posts
    25

    Re: Unique site ID form selection list tht shows only availble site ID's

    Hello Kaper,

    I would like to thank you for helping me out.
    I used this in my worksheet and it is working as I would like to have it.
    Great that you spent some of your time to help out me (and others)

    Kind regards, Emoes

+ 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: 1
    Last Post: 05-10-2013, 02:03 PM
  2. help with a macro to generate a unique id based on town or site names. (alfa only)
    By chansen1953 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-09-2012, 02:23 AM
  3. How to List and download files from FTP site
    By smasher230 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-02-2012, 01:50 AM
  4. Site to Site concurrent call calculation
    By msknja in forum Excel General
    Replies: 5
    Last Post: 08-29-2010, 08:34 PM
  5. Replies: 1
    Last Post: 03-09-2008, 12:02 AM
  6. i made site! Good Site. Look now mysite!!!
    By joks3xxx in forum Excel General
    Replies: 0
    Last Post: 08-10-2006, 03:47 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