+ Reply to Thread
Results 1 to 11 of 11

How can I insert a space between each number?

  1. #1
    Registered User
    Join Date
    04-17-2012
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    12

    Question How can I insert a space between each number?

    Hi there

    I'm working at a printing office and we have a questionaire that we are going to number from 10000-10999. The problem is that I need to insert a space between each number digit (ex. 1 0 9 9 9 - # # # # # instead of #####) to make it hit the boxes prepared for the numbers. I have a column with the text "Numbers" at the top and then all the numbers underneath.

    But I can't get any solution to work correctly. Can anyone help me?

    I'm not experienced in Excel in any way...

    In advance thanks for your help.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: How can I insert a space between each number?

    If your number is in cell A1, say, you could try :

    =TEXT(A1,"# # # # #")

  3. #3
    Forum Contributor bonny24tycoon's Avatar
    Join Date
    04-02-2012
    Location
    Hell
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    405

    Re: How can I insert a space between each number?

    Hi NTNU-trykk,


    Can you attach an example spreadsheet??



    If I was able to help – PLEASE DO NOT FORGET to Click the small star icon at the bottom left of my post.
    Thanks,

    Bonny Tycoon


  4. #4
    Registered User
    Join Date
    04-17-2012
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: How can I insert a space between each number?

    Hi Andrew, I trid to write this into cell B2 (my numbers are in cell A2 and further down), but I only got an error message. Is there a special place to write this?

  5. #5
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: How can I insert a space between each number?

    What exactly is in cell A2? Is it just a number or is it literally, "10999-10000"?

  6. #6
    Registered User
    Join Date
    04-17-2012
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: How can I insert a space between each number?

    Let's see if I can get this right. I'm trying to upload the file to depositfiles.com.

    http://depositfiles.com/files/271d9gxxu

    The numbers are in cells A2-A1001.

  7. #7
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: How can I insert a space between each number?

    You don't need to use DepositFiles, you can upload files directly to the forum (click on the paper-clip icon when you're writing a message in advanced mode).

    However using my formula (but pointing at A2 instead of A1):

    =TEXT(A2,"# # # # #")

    Works for me if I put it in cell B2. What error were you getting?

  8. #8
    Registered User
    Join Date
    04-17-2012
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: How can I insert a space between each number?

    Ok, think I got it now with the uploading of a file now:

    numbering10000-10999.xls

    I hope this works.

    The error message I got says that it is a mistake/error in the formula (the software is in Norwegian so can't say what the english versions says).

    Edit: I also need to make a numbered list with 20000-20999 and 30000-30999 so please tell me how you do it ;-)
    Last edited by NTNU-trykk; 04-17-2012 at 07:11 AM.

  9. #9
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: How can I insert a space between each number?

    OK, I've put my formula in column B and another formula, showing you how to use the same function on the returned value from a calculation, in column C.

    These are both working for me - are they OK for you?
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    04-17-2012
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: How can I insert a space between each number?

    Quote Originally Posted by Andrew-R View Post
    OK, I've put my formula in column B and another formula, showing you how to use the same function on the returned value from a calculation, in column C.

    These are both working for me - are they OK for you?
    It worked :D Hurray!

    Thanks a lot Andrew-R and have a great day. You saved us a lot of trouble.

    Just one question, I don't know a lot about excel, but did you make the numbers into text? Just wondering because it said "TEKST" (Norwegian for text) in the beginning of your formula.

  11. #11
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: How can I insert a space between each number?

    TEXT is a slightly mis-leading term - it's actually the function to convert a numeric value into a specific display format (the result will be text, however).

    Glad you're sorted.

+ 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