+ Reply to Thread
Results 1 to 7 of 7

how to use find and left togeather

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    Addis Ababa, Ethiopia
    MS-Off Ver
    Excel 2003
    Posts
    9

    how to use find and left togeather

    What i am actually trying to do is to extract numbers and texts in different cells e.g A1 contains <LGGACC=29720KG; LGGLOS=56105KG; LGGADD=4356KG> and want to get <LGGACC>, <LGGLOS> & <LGGADD> in cell B1,B2 & B3 respectively; while, <29720>, <56105> & <4356>in cell C1, C2 and C3 respectively.

    i will be happy if it is formula than VBA

  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,972

    Re: how to use find and left togeather

    Hi and welcome to the forum

    Not sure I entirely understand your examples, but maybe try this...
    =left(A1,find("=",A1,1)-1)
    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

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: how to use find and left togeather

    welcome to the forum, nuruedriss. it's always better to upload a sample excel file with a few examples so we can see a pattern. it's also hard to tell if you want those brackets <>, or are you just simply illustrating those in the brackets belong to a cell. if it's the latter, try this for B1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and for C1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    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,972

    Re: how to use find and left togeather

    @ Ben I *think* each 1 of those is in its own cell (could be wrong though lol)

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: how to use find and left togeather

    @FDibbins:
    haha. my guess is he wants something like this.

    A B C
    1 lggacc=29720kg; lgglos=56105kg; lggadd=4356kg lggacc 29720
    2 lgglos 56105
    3 lggadd 4356

    @nuruedriss:
    see how you make us guess without a sample file showing desired answers?
    Last edited by benishiryo; 09-30-2013 at 10:54 AM.

  6. #6
    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,972

    Re: how to use find and left togeather

    Guess we will just have to wait and see. I like your formula though (try saying that 5 times quickly though LOL)

  7. #7
    Registered User
    Join Date
    02-06-2013
    Location
    Addis Ababa, Ethiopia
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: how to use find and left togeather

    Quote Originally Posted by benishiryo View Post
    @FDibbins:
    haha. my guess is he wants something like this.

    A B C
    1 lggacc=29720kg; lgglos=56105kg; lggadd=4356kg lggacc 29720
    2 lgglos 56105
    3 lggadd 4356

    @nuruedriss:
    see how you make us guess without a sample file showing desired answers?
    Sorry for making u guess around. That is exactly what I want. When I was trying to upload my excel it opens another window which is loading and non responsive what shall I do… advance thanks for all of u.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Left with Find vba
    By redmarko in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-22-2013, 05:01 PM
  2. linking 2 work books togeather
    By Zealotwraith in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-02-2013, 11:01 AM
  3. Using sumproduct and subtotal togeather ???????
    By LondonM in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-19-2013, 10:59 AM
  4. =FIND from right instead of left?
    By mewingkitty in forum Excel General
    Replies: 3
    Last Post: 11-27-2008, 04:16 AM
  5. Left, Right, Mid, Find...
    By Petitboeuf in forum Excel General
    Replies: 4
    Last Post: 02-27-2007, 11:12 AM

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