+ Reply to Thread
Results 1 to 5 of 5

Extract signed number from right end of string

  1. #1
    Registered User
    Join Date
    03-16-2016
    Location
    Summerville, SC
    MS-Off Ver
    2007
    Posts
    3

    Extract signed number from right end of string

    This solution was provided by Excelchat and I thought others may find it useful. See attached spreadsheet.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Extract signed number from right end of string

    Your Values are returned as text. So you cannot use the sum function on them.

    Try this Formula in C2 =MID(A4,7,LEN(A4)-LEN(TEXT(D4,"#,###.00"))-6) and this in D2 =TRIM(RIGHT(SUBSTITUTE(A4," ",REPT(" ",10)),10))*1
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    03-16-2016
    Location
    Summerville, SC
    MS-Off Ver
    2007
    Posts
    3

    Re: Extract signed number from right end of string

    I don't use the number to sum, so it doesn't matter. And, if I did I would just change its format.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,756

    Re: Extract signed number from right end of string

    Quote Originally Posted by getterdun View Post
    I don't use the number to sum, so it doesn't matter. And, if I did I would just change its format.
    It might not matter to you, but I see you are sharing this because it might be useful to others. In most cases where a number is needed, it is needed for a calculation.

  5. #5
    Registered User
    Join Date
    03-16-2016
    Location
    Summerville, SC
    MS-Off Ver
    2007
    Posts
    3

    Re: Extract signed number from right end of string

    Yes, I you're right. I didn't think of that. Thanks.

+ 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] Extract number from string and add zero
    By Jacc in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-17-2017, 07:26 AM
  2. [SOLVED] How to Extract A Number from String if Text within the String Equals XYZ
    By tyrsfury in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-15-2012, 03:30 PM
  3. [SOLVED] Working Age Group Signed From DOB and Date Signed
    By Bellio3105 in forum Excel General
    Replies: 2
    Last Post: 11-05-2012, 02:02 PM
  4. [SOLVED] Extract a mainly numeric string (ISSN number) from an arbitrary string
    By Buzzed Aldrin in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-04-2012, 01:49 PM
  5. [SOLVED] How to extract Fist number, Last number from string and SUM
    By Xiaojiang in forum Excel General
    Replies: 5
    Last Post: 05-07-2012, 01:39 AM
  6. Extract Number from String Help
    By kobe4ever8 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-31-2011, 02:25 PM
  7. Extract number from text/number string..
    By nastech in forum Excel General
    Replies: 5
    Last Post: 07-05-2006, 06:25 PM

Tags for this Thread

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