+ Reply to Thread
Results 1 to 3 of 3

how can i get only first two digits of mentioned cell Values?

  1. #1
    Forum Contributor
    Join Date
    03-11-2009
    Location
    duke's
    MS-Off Ver
    Excel 2007
    Posts
    112

    how can i get only first two digits of mentioned cell Values?

    dear friends,



    now i am faceing new problem. i have attachmed excel file. in that file total 8 colums among them i kept 8th colum empty .

    but i want name racks in that file. i knw..it will confuses u. but once u see my attachemts u will realize.

    eg: if G2 =XA06-G-001 I2 will be XA only..(XA is rack Name)
    if G2 =XB06-G-001 I2 will be XB only
    if G2 =XC06-G-001 I2 will be XC only
    if G2 =XD06-G-001 I2 will be XD only

    i mean to say..i want only first two alpabatics of G2 in I2..

    please help me
    Attached Files Attached Files
    Last edited by raveepoojari; 12-03-2009 at 02:08 PM.
    " Jai ho"

  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: how can i get only first two digits of mentioned cell Values?

    Put this in I2, then copy it down:

    =LEFT(G2,2)

    To remove the formulas and leave the answers, highlight column I and copy it, then select EDIT > PASTE SPECIAL > VALUES.
    _________________
    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
    Forum Contributor
    Join Date
    03-11-2009
    Location
    duke's
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: how can i get only first two digits of mentioned cell Values?

    Thank You...very much...ur simply great..

+ 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