+ Reply to Thread
Results 1 to 5 of 5

Pulling Numbers out of a text string (+123.94 $ etc.)

  1. #1
    Registered User
    Join Date
    01-22-2020
    Location
    united states
    MS-Off Ver
    2016
    Posts
    2

    Pulling Numbers out of a text string (+123.94 $ etc.)

    Hello, I am a long list of numbers that are pasted in and look like this
    +123.45 $
    +12.19 $
    -1.90 $
    -.01 $

    The + indicates a positive number and the - means a negative number. I need them to be converted into a number. I am having trouble converting them to where I am keeping whether or not the are positive or negative and also not losing decimal places since the numbers can be different lengths. Any help is appreciated. Thanks

  2. #2
    Registered User
    Join Date
    06-04-2018
    Location
    Europe
    MS-Off Ver
    Office365
    Posts
    78

    Re: Pulling Numbers out of a text string (+123.94 $ etc.)

    One way...

    =--SUBSTITUTE(A1," $","") then drag down as you need.

  3. #3
    Registered User
    Join Date
    01-22-2020
    Location
    united states
    MS-Off Ver
    2016
    Posts
    2

    Re: Pulling Numbers out of a text string (+123.94 $ etc.)

    That gets me a #VALUE! error

  4. #4
    Registered User
    Join Date
    06-04-2018
    Location
    Europe
    MS-Off Ver
    Office365
    Posts
    78

    Re: Pulling Numbers out of a text string (+123.94 $ etc.)

    Clic in cell with +123.45 $ and look in formula bar. What you see there?

    Upload your file, without sensible data.
    Last edited by Tommy90; 01-22-2020 at 03:11 PM.

  5. #5
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,151

    Re: Pulling Numbers out of a text string (+123.94 $ etc.)

    Quote Originally Posted by CMO177 View Post
    ... #VALUE! error

    How do you have formatted cells ?

    Ps.: And something like that ?
    =LEFT(A1,FIND(" $",A1)-1)
    or
    =VALUE(LEFT(A1,FIND(" $",A1)-1))

+ 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. Pulling text and date out of a long string of text
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2019, 01:03 PM
  2. [SOLVED] Pulling numbers from an alpha-numeric string
    By roxdrob01 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-11-2018, 12:09 AM
  3. [SOLVED] Pulling link out of text string
    By ssim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-31-2017, 02:08 PM
  4. Finding and Pulling Text Mid String
    By tdoolittle13 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-11-2014, 05:27 PM
  5. [SOLVED] Pulling numbers out of text string
    By snoopy1461 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-27-2013, 12:17 PM
  6. [SOLVED] Pulling a string of text
    By Montoro22 in forum Excel General
    Replies: 5
    Last Post: 06-11-2013, 11:36 AM
  7. [SOLVED] Trouble pulling a string of numbers due to it being a decimal...
    By DSully82 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-16-2013, 11:05 PM

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