+ Reply to Thread
Results 1 to 7 of 7

Number Formatting: 1''00

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question Number Formatting: 1''00

    Hi everyone,

    I have a complex question on number formatting, I wasn't able to find a solution to in any forum:

    I'd like to format billions, say 1,000,000,000, using inverted commas, i.e. 1''000.
    With zero or three decimal places (1'' or 1''000) this is no problem, nevertheless I was not able to figure out how to format it to show only one or two decimal places (1''0 or 1''00).

    Is this possible using pure number formatting? If yes, how?

    Thank you very much in advance.

    Cheers
    flippo

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Number Formatting: 1''00

    Can you upload a sample file showing what you'd like to accomplish?

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Number Formatting: 1''00

    Off the top of my head, I do not think this will be possible using pure number formatting. You can review the different number format codes and see if you can figure something out: https://support.office.com/en-au/art...2-09fab54be7f4

    The easiest approach might be:

    1) Go into File -> Excel options -> Advanced. Find the checkbox for "use system separators" and uncheck it. Then enter " as your decimal separator.
    2) With " as your decimal separator, you can use a number format code like "0.00,,," to get 1E9 to display as 1"00.

    Downsides might be that, as a global setting, this will effect all of your spreadsheets. Every cell that uses a decimal point will display inverted commas for the decimal point. Also, if your share this spreadsheet with others, they will need to make the same change in their Excel options in order to get the same display. With those downsides, I do not know if this is a good solution, but it seems like a possible solution.

    Any other approach that I can think of will involve =CONCATENATE() to piece together the value as a text string.
    Last edited by MrShorty; 08-27-2015 at 11:11 AM.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Forum Contributor vamosj's Avatar
    Join Date
    04-23-2004
    Location
    Oregon
    MS-Off Ver
    2010
    Posts
    294

    Re: Number Formatting: 1''00

    Without changing the excel options, you can custom format the cell like this. I believe this will work for you.



    Please Login or Register  to view this content.


    edit: After playing around some, it only works if you are using three digits after the " in the display. If you try and change it to only two digits after ", it throws it off. Currently looking into this.

    edit #2: After exploring around a bit, you would either have to leave the above as is and deal with 3 digits after the " or use the below option.


    If you always use " as your placeholder for numbers, then you can always change your options as shown here to display a different character as your decimal point or thousands separator then custom format your cell this way.

    Please Login or Register  to view this content.
    Last edited by vamosj; 08-27-2015 at 11:44 AM.
    Janos S. Vamos
    Data Systems Technician/Fire Controlman PO1(SW/AW)
    US Navy Retired


    Remember, Record Macro can be your friend for figuring out solutions.

    Good or Bad, let me know how I did by clicking on the "Add Reputation" * just to the lower left of here. it only takes a few seconds to let someone know.

  5. #5
    Registered User
    Join Date
    05-31-2013
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Number Formatting: 1''00

    Thanks everyone, I was afraid to hear this.

    But thank you again for your efforts!

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Number Formatting: 1''00

    hello
    You can use normal cell format - custom format = #,##0;-#,##0 and then
    conditional formatting for cell values equal to or greater than 1000000 and change the format to custom format to #\"###### or what ever you need
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  7. #7
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Number Formatting: 1''00

    on testing should be #\"###,
    Attached Files Attached Files

+ 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. [SOLVED] Apply formatting if a number repeats in one of the three cells following this number
    By ×_× in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-02-2015, 10:57 AM
  2. [SOLVED] Add leading zeroes to number, number formatting
    By YOO629 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2015, 04:26 AM
  3. Number Formatting and Conditional Formatting
    By morayman in forum Excel General
    Replies: 1
    Last Post: 01-23-2014, 04:03 AM
  4. [SOLVED] Formatting to make 2 digit number show up at 3 digit number.
    By cadamhill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2012, 06:58 PM
  5. Conditional Formatting quirk with Number formatting
    By ChemistB in forum Excel General
    Replies: 9
    Last Post: 07-20-2011, 08:44 AM
  6. Replies: 3
    Last Post: 02-12-2009, 01:08 PM
  7. formatting cell number based on previous cell number
    By Pasquini in forum Excel General
    Replies: 3
    Last Post: 06-20-2006, 01:40 AM

Tags for this Thread

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