+ Reply to Thread
Results 1 to 5 of 5

need to trim out numbers from a cell

  1. #1
    Forum Contributor
    Join Date
    03-14-2005
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    172

    need to trim out numbers from a cell

    Okay, looking at the example below:

    472.1001.1000
    472.1000
    472.1001.5000
    480.2000

    I need to get the number after the first three numbers and period. I can't do a =right(9) because it will capture the first three when there are less than 9 characters. I just need everything after the first three. thanks.
    Last edited by Mile029; 05-26-2011 at 11:41 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: need to trim out numbers from a cell

    Try

    = MID(A1, 5,50)
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: need to trim out numbers from a cell

    And because this is excel, and there are a million ways to get at a solution;

    If there is any variation on the leading characters before the period, you can take the range of cells that you're interested in and copy/paste them over to a .txt file, and then import them as period separated values. That would create the following
    Please Login or Register  to view this content.
    Last edited by Miraun; 05-26-2011 at 11:39 AM. Reason: trying to make the columns quasi-line up for the example

  4. #4
    Forum Contributor
    Join Date
    03-14-2005
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    172

    Re: need to trim out numbers from a cell

    yes, that's it, thank you

  5. #5
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: need to trim out numbers from a cell

    RIGHT(A2,LEN(A2)-FIND(".",A2)) I'm assuming it will always be the numbers after the first period you need. This will display all the numbers after that. If you add a +0 onto the end it will leave it showing as a useable number, you will then need to format the cell to display all the zeros
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

+ 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