+ Reply to Thread
Results 1 to 5 of 5

make a my column 11 spaces wide

  1. #1
    Registered User
    Join Date
    09-02-2010
    Location
    Louisville, ky
    MS-Off Ver
    Excel 2003
    Posts
    3

    make a my column 11 spaces wide

    Hi,

    I am not sure if I can explain this correct. I have a column with all different dollar and cent amounts. I need to make my column eleven spaces wide. If my amount is $66.00 I need to add seven more # to make the column eleven spaces. Is there a formula I can use that will put enough # to make my column eleven characters wide. I would like to do the entire column at once. Am I asking for the impossible?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need help with making a my column 11 spaces wide

    Are you talking about making this:

    $60.00

    Look like this?

    $000000060.00


    If so, that's a custom number format, highlight the column and press CTRL-1, then format:

    Custom: $000000000.00
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-02-2010
    Location
    Louisville, ky
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Need help with making a my column 11 spaces wide

    No what I need it to look like is #######66.00 or #####120.87 or ########1.45 it is for a bank upload.
    Last edited by Tina Lower; 09-07-2010 at 09:57 PM.

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Need help with making a my column 11 spaces wide

    So are you saying that the amounts literally need to be text strings with leading # signs so that the # signs and the numbers totals 12 digits (not counting the decimal)?

    If so, try:

    =REPT("#",12-LEN(TEXT(A1,"0.00")))&TEXT(A1,"0.00")

    Fill that down as many rows as necessary. You can then copy these cells and use PasteSpecial -> Values on top of the original values.

  5. #5
    Registered User
    Join Date
    09-02-2010
    Location
    Louisville, ky
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Need help with making a my column 11 spaces wide

    Thank you Paul, I will try this and I will make another post if is does not work. I am sure I am not wording things right.

+ 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