+ Reply to Thread
Results 1 to 6 of 6

Creating a data validation list

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,176

    Creating a data validation list

    I am trying to set the below table up as a validation list. I am having issues with putting it in as list as it creates a new line every time a “,” (comma) occurs. I know I can use the custom and pull the list from a table, but I can’t use this option (the reason I can’t use the table, if interested, is because the single sheet with the validation contains about ~35,000 line items that are being split up into ~200 different sheets. Each sheet is then sent as a separate email…the problem with using the table is that it would on a different spreadsheet to begin with. The email only sends one sheet. As such, it would no longer be able to reference the table).

    Any help is appreciated. Thank you.

    A - Less than $25,000
    B - Between $25,000 and $49,999
    C - Between $50,000 and $99,999
    D - Between $100,000 and $249,999
    E - Between $250,000 and $499,999
    F - Between $500,000 and $999,999
    G - Over $1,000,000
    Last edited by maacmaac; 02-20-2010 at 10:13 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Creating a data validation list

    what are you trying to do?
    is this in one cell?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Creating a data validation list

    How about using common abbreviations for monetary units?

    A - Less than $25K
    B - Greater than $25K and Less than $50K
    C - Greater than $50K and less than $100K
    D - Greater than $100K and less than $250K
    E - Greater than $250K and less than $500K
    F - Greater than $500K and less than $1M
    G - Over $1M
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  4. #4
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,176

    Re: Creating a data validation list

    The validation is not for a single cell. The validation is needed for all cells in column C. Also, I can't change the structure of the drop down list. The reason I can't change the structure is because I am splitting the spreadsheet into ~200 sheets and sending out to the sales force. They then fill in the missing info, using the validation choices, and send the data to IT. IT then takes the data and loads it into a database. IT needs the data to be in the same format, otherwise they cannot automate it. HTH. Thanks for the comments.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Creating a data validation list

    in say "Between $25,000 and $49,999"
    replace each comma with char(0130) which looks like a , but isnt the same as the one used as list seperator
    so where you have $25000 put cursor where you want the , hold down alt key and on the number pad key 0130
    see attached cell a1 for example
    Attached Files Attached Files
    Last edited by martindwilson; 02-20-2010 at 06:34 AM.

  6. #6
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,176

    Re: Creating a data validation list

    Excellent. Exactly what I needed. Thanks

+ 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