+ Reply to Thread
Results 1 to 9 of 9

Formatting Numbers as Text??

  1. #1
    Registered User
    Join Date
    01-13-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    13

    Formatting Numbers as Text??

    I'm trying to figure out how to format cells in order to end up with single digit numbers with a leading zero. For example, in column A I have the number "1". In B there's "Apples". Column C is a simple formula that combines the two.

    What I want to end up with in column C is "01.0 Apples", "02.0 Oranges" etc. but I can't figure out how to preserve the leading zero. I need that since ultimately these values in C are pasted into another file that's sorted alphabetically so I need to leading zero to remain for the single digit entries.

    I set a custom format for column A using "00.0" but can't figure out how to get the leading zero to show in column C. Hopefully the attached explains it better than I can!
    Attached Files Attached Files

  2. #2
    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: Formatting Numbers as Text??

    Try it like this

    =TEXT(A1,"00.0")&" - "&B1
    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

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

    Re: Formatting Numbers as Text??

    Please Login or Register  to view this content.
    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.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Formatting Numbers as Text??

    Try this.....
    In C1
    Please Login or Register  to view this content.
    Does this help?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Formatting Numbers as Text??

    Like this =TEXT(A1,"0#0.")&"0 "&B1

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Formatting Numbers as Text??

    Three same answers in 3 minutes.
    Should have been checked before posting.

  7. #7
    Registered User
    Join Date
    01-13-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Formatting Numbers as Text??

    Quote Originally Posted by AlKey View Post
    Try it like this

    =TEXT(A1,"00.0")&" - "&B1
    Excellent-- that's the ticket!

    I have to say this is an incredible forum. I've come crawling in here several times with these types of questions and within MINUTES folks are able and willing to help me out. Thanks very much to all for the input!

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Formatting Numbers as Text??

    Quote Originally Posted by jillbee View Post
    I have to say this is an incredible forum.
    I agree with you.

    Glad we could help and thanks for the feedback as well.
    If that takes care of your question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.

  9. #9
    Registered User
    Join Date
    01-13-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Formatting Numbers as Text??

    Quote Originally Posted by sktneer View Post
    I agree with you.

    Glad we could help and thanks for the feedback as well.
    If that takes care of your question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.
    Ah, right. Thanks for the reminder.

+ 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. Numbers formatting as text are still adding. Why?
    By Excel_vba in forum Excel General
    Replies: 4
    Last Post: 10-14-2013, 05:55 AM
  2. Replies: 9
    Last Post: 03-26-2012, 02:16 PM
  3. Formatting telephone numbers as text
    By ozziedave in forum Excel General
    Replies: 2
    Last Post: 05-28-2007, 03:16 PM
  4. Formatting numbers in a text box
    By brucemc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-02-2006, 11:46 AM
  5. numbers to text with formatting
    By Mike in forum Excel General
    Replies: 1
    Last Post: 03-29-2006, 10:55 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