+ Reply to Thread
Results 1 to 3 of 3

generating cells from a drop down menu

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-23-2010
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    153

    generating cells from a drop down menu

    hi guys

    in cell h4 i have a drop down list
    which have
    5-7 weeks
    6-8 weeks
    and so on

    in cell h12 i would like it to return the first number prio to the hypen
    and in h13 i would like it to return the nuber after th hyphen.

    if some one could help it would be much appreciated
    Last edited by sdts; 11-23-2010 at 05:57 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: generating cells from a drop down menu

    perhaps

    H12:
    =(0&LEFT(H4,FIND("-",H4&"-")-1))+0
    
    H13:
    =(0&REPLACE(LEFT(H4,FIND(" ",H4&" ")-1),1,FIND("-",H4&"-"),""))+0

  3. #3
    Forum Contributor
    Join Date
    03-23-2010
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    153

    Re: generating cells from a drop down menu

    thanks donkeyote

    much appreciated

+ 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