+ Reply to Thread
Results 1 to 2 of 2

Enter only 1st Word From Validation List

  1. #1
    Registered User
    Join Date
    08-10-2012
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    41

    Enter only 1st Word From Validation List

    Hello,

    I have a validation list from a named range that is used for multiple purposes. Some of the cells have limited space and the 1st word from each of the choices on the list would suffice in that case. Is there a way to make a selection and only have the 1st word or just a certain number of letters populate the cell?

  2. #2
    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: Enter only 1st Word From Validation List

    I would suggest creating a new range of data based on that 1st range, and then use something like...
    =left(A1,search(" ",A1,1)-1)
    or
    =left(A1,5) 5 being the number of characters that you want to use - this can be hard-coded into the formula, or put in another cell and then referenced.
    You can then create another name for this new range, andthen use that in the DV
    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)

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