+ Reply to Thread
Results 1 to 10 of 10

Text Values to Numerical Dollar Values

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Question Text Values to Numerical Dollar Values

    Hi,

    I have a table in which I copied some data off a webpage.

    As you will see in example - There is column A which is the copied inputs from a website.

    I wish to convert this to dollar values & then sum total in column B.

    How to do this?

    Thanks
    Attached Files Attached Files
    Last edited by mycon73; 05-14-2016 at 01:23 AM.
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Text Values to Numerical Dollar Values

    Try this formula in F10 and copy down. Format these cells as Currency.

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


    The *1 at the end forces the text string the RIGHT() section of the formula returns into a numeric value.

    BSB

  3. #3
    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,942

    Re: Text Values to Numerical Dollar Values

    If you want to do this all in 1 cell...
    =SUMPRODUCT(--(MID(D10:D23,FIND(" ",D10,1)+1,99)))

    Or, use this for each cell...
    =--MID(D10,FIND(" ",D10,1)+1,99)
    copied down
    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

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,914

    Re: Text Values to Numerical Dollar Values

    Or try this ...

    =--REPLACE(D10,1,FIND(" ",D10),"")

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Text Values to Numerical Dollar Values

    Here is another way
    Enter formula in cell B2 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by AlKey; 05-13-2016 at 09:15 AM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  6. #6
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Text Values to Numerical Dollar Values

    Hi Everyone,

    Great Solutions!


    However, the, "=LOOKUP(10^308,--RIGHT(A2,ROW(A$1:A$15)))" isn't working for me.

    Thanks everyone....

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Text Values to Numerical Dollar Values

    Quote Originally Posted by mycon73 View Post
    Hi Everyone,

    Great Solutions!


    However, the, "=LOOKUP(10^308,--RIGHT(A2,ROW(A$1:A$15)))" isn't working for me.

    Thanks everyone....
    Not sure why you saying it is not working.
    Please see attached file with the same formula
    AK-Text Values to Numerical Dollar Values.xlsx

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Text Values to Numerical Dollar Values

    This worked on your sample data.

    Select the range A10:A23
    Goto the Data tab>Text to Columns
    Select: Delimited
    Click: Next
    Select: Space
    Click: Next
    Select: Do not import column (skip)
    Click: Finish

    The range now contains numeric numbers that can be summed.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  9. #9
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: Text Values to Numerical Dollar Values

    Hi.

    Alternatively, you could use Find & Replace - see attached.

    (Format the cells to us dollars)

    peterrc
    Attached Images Attached Images

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Text Values to Numerical Dollar Values

    @AlKey
    The formula failed in the range given in column D because the Row(A$1:A$15) couldn't be changed to D$10:D$23. If left alone or changed to D$1:D$15 the formula works perfectly. I think that the OP didn't make that change.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Replies: 2
    Last Post: 06-25-2012, 02:10 PM
  2. Excel 2007 : Converting text values to numerical values
    By andybocchi in forum Excel General
    Replies: 7
    Last Post: 11-01-2010, 07:49 PM
  3. [SOLVED] text has numerical values
    By TXEagle in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  4. text has numerical values
    By TXEagle in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 PM
  5. [SOLVED] text has numerical values
    By TXEagle in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  6. [SOLVED] text has numerical values
    By TXEagle in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 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