+ Reply to Thread
Results 1 to 4 of 4

Drop down list and formula

  1. #1
    Registered User
    Join Date
    12-18-2007
    Posts
    53

    Drop down list and formula

    I have created a drop down list as follows

    Whiteboard 16mm
    Colourboard 16mm
    Colourboard 18mm
    Veneer 18mm
    Veneer 19mm
    Veneer laid up 40mm
    Painted 16mm
    Painted 18mm.

    When I select one of these items I need CELL A1 to return just the thickness.

    EG: I hit dropdown list and select Whiteboard, CELL A1 then displays 16mm.
    Or I select Veneer laid up and it displays 40mm.
    I would imagine this formula would be quite long as I would have these 8 items in it.

    Can you show me an example of what to do in simple format to produce this.

    Thanks Guys
    Roger.
    Last edited by DODGE; 02-22-2009 at 01:35 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Drop down list and formula

    If that dropbox is in cell A1, put this formula in B1:

    =RIGHT(A1,LEN(A1)-FIND("*",SUBSTITUTE(A1," ","*",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    12-18-2007
    Posts
    53

    Re: Drop down list and formula

    Quote Originally Posted by JBeaucaire View Post
    If that dropbox is in cell A1, put this formula in B1:

    =RIGHT(A1,LEN(A1)-FIND("*",SUBSTITUTE(A1," ","*",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))
    Thanks Heaps
    I would never have been able to work that one out, how do you do it?
    I will give this a go.
    Cheers Dodge.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Drop down list and formula

    Try a Google search for "Excel Last word in a cell"

    (wink)

    If that takes care of your need, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [SOLVED]

+ 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