+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Extracting numbers into text fields

Hybrid View

pennywaltz Extracting numbers into text... 06-18-2012, 01:07 PM
NBVC Re: Extracting numbers into... 06-18-2012, 01:15 PM
mshale Re: Extracting numbers into... 06-18-2012, 04:57 PM
  1. #1
    Registered User
    Join Date
    09-10-2010
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Extracting numbers into text fields

    I'm on Excel 2010 (don't see that board so i'm posting in 2007).

    So I have the following number cells:
    A1= 1.555
    b1=1.321
    c1=1.829

    All number formats. And then I limit it to 2 decimal places so it shows
    A1= 1.56
    b1=1.32
    c1=1.83

    I want to combine these numbers and create a text field to show in D1=1.56 (1.32,1.83)

    I have to do this for about 200 rows. so wondering is there a way to do this without manually typing it?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Extracting numbers into text fields

    Do you mean?

    =TEXT(A1,"0.00") & " (TEXT(B1,"0.00")&", "&TEXT(C1,"0.00")&")"
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    03-15-2007
    Location
    AL, USA
    MS-Off Ver
    2007
    Posts
    174

    Re: Extracting numbers into text fields

    Quote Originally Posted by pennywaltz View Post
    I'm on Excel 2010 (don't see that board so i'm posting in 2007).

    So I have the following number cells:
    A1= 1.555
    b1=1.321
    c1=1.829

    All number formats. And then I limit it to 2 decimal places so it shows
    A1= 1.56
    b1=1.32
    c1=1.83

    I want to combine these numbers and create a text field to show in D1=1.56 (1.32,1.83)

    I have to do this for about 200 rows. so wondering is there a way to do this without manually typing it?
    Quote Originally Posted by NBVC View Post
    Do you mean?

    =TEXT(A1,"0.00") & " (TEXT(B1,"0.00")&", "&TEXT(C1,"0.00")&")"
    To get close to the format you supplied (not sure if you need it to drop down a line like above or not), you'd need to add the folowing:

    =TEXT(A1,"0.00")&CHAR(10)&" ("&(TEXT(B1,"0.00")&", "&TEXT(C1,"0.00")&")")

+ 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