+ Reply to Thread
Results 1 to 4 of 4

Return answer dependant on /

  1. #1
    Forum Contributor
    Join Date
    01-06-2009
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    415

    Return answer dependant on /

    Hi guys last question today

    in cell d1 i have

    hk/q46559

    in cell i1 i need to return whatever is before the "/"
    in this case hk

    and in cell i2 i need to return the number after the q
    in this case 46559

    thanks once again
    Last edited by excellentexcel; 04-05-2009 at 08:12 AM.

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

    Re: Return answer dependant on /

    Look at LEFT/RIGHT/MID/FIND/SEARCH functions

    I1: =LEFT(D1,FIND("/",D1)-1)
    I2: =RIGHT(D1,LEN(D1)-(FIND("/",D1)+1))

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Return answer dependant on /

    Hi excellentexcel,

    Cell I1:
    Please Login or Register  to view this content.
    Cell I2:
    Please Login or Register  to view this content.
    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  4. #4
    Forum Contributor
    Join Date
    01-06-2009
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    415

    Re: Return answer dependant on /

    Cracking stuff again guys
    thank you

+ 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