+ Reply to Thread
Results 1 to 5 of 5

Left, Right, Mid, Find...

  1. #1
    Registered User
    Join Date
    06-14-2004
    Posts
    75

    Left, Right, Mid, Find...

    Hi all

    I am sure it will take you seconds and a scowl to answer my query as this is very basic...

    In D3 I have the following data dumped form another software:

    PR02687 BLAH CHSH FRY POTS 12x907

    In B3 I then have =LEFT(D3,7) which gives me PR02687

    In A3 I then have =RIGHT(B3,5) which gives me 02687. Any way of combining A3 and B3 by the way?

    Now in C3 I would like to have "BLAH CHSH FRY POTS 12x907" without the code... what is the formula please?

    Many thanks!!

  2. #2
    Forum Contributor
    Join Date
    02-23-2005
    Location
    England
    Posts
    110
    If you really want to combine the two equations, then :

    =RIGHT(LEFT(D3,7),5)

    OR you could use :

    =MID(D3,3,5)

    And, for C3 :

    =RIGHT(D3,25)

    OR are you looking for something a little cleverer?

  3. #3
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by Petitboeuf
    Hi all

    I am sure it will take you seconds and a scowl to answer my query as this is very basic...

    In D3 I have the following data dumped form another software:

    PR02687 BLAH CHSH FRY POTS 12x907

    In B3 I then have =LEFT(D3,7) which gives me PR02687

    In A3 I then have =RIGHT(B3,5) which gives me 02687. Any way of combining A3 and B3 by the way?

    Now in C3 I would like to have "BLAH CHSH FRY POTS 12x907" without the code... what is the formula please?

    Many thanks!!
    Hi
    following function will return what you want in C3
    =MID(D3,FIND(" ",D3)+1,100)

    for combining A3 and B3 try
    =A3&B3
    or
    =A3&" "&B3 (with a space between two values)

    hope this would help you.

  4. #4
    Registered User
    Join Date
    06-14-2004
    Posts
    75
    Thank you very much to both of you for that prompt answer!

    this is exactly what I was after!

  5. #5
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by Petitboeuf
    Thank you very much to both of you for that prompt answer!

    this is exactly what I was after!
    you're welcome.
    pleased to know that it solved your problem.

+ 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