+ Reply to Thread
Results 1 to 5 of 5

Custom data type

  1. #1
    Registered User
    Join Date
    06-16-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Custom data type

    I'm looking to create a custom data type and incorporate it into a dropdown box for easy selection.

    ex. I want a type "answer" to represent numerical selections (0,1,2) as strings (Always, Usually, Never), and again incorporating the data type into a dropdown to select. Thanks for the help, if any!

  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: Custom data type

    data list for validation say A1 Always, Usually, Never
    in another cell sat D1 =lookup(a1,{"Always","Never"," Usually"},{0,2,1})
    "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
    Registered User
    Join Date
    06-16-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Custom data type

    Looks good, but is there a way to do this all in one cell, for organizations sake? I should have been more clear, I want the string "Always" to also represent the integer 0. This does that, but kind of screws my sheet by taking up 2 cells.

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

    Re: Custom data type

    hide the column? dont forget it a spread sheet not a work of beauty or put the formula on another work sheet and refer to it

  5. #5
    Registered User
    Join Date
    06-16-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Custom data type

    True, thanks a lot.

+ 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