+ Reply to Thread
Results 1 to 14 of 14

Number formatting | Thousands to ones

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003 to Excel 2010
    Posts
    235

    Number formatting | Thousands to ones

    Hello,

    As per attached file can we change number formatting for numbers (Thousands to ones) for eg like may we see 45,000 as 4.5 ?

    Any Quick help will be appreciated.

    Thanks,
    Vijay
    Attached Files Attached Files
    Click on (*), if you agree.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Number formatting | Thousands to ones

    Format as

    #,##0,

    and adjust the dps to whatever you want...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    11-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003 to Excel 2010
    Posts
    235

    Re: Number formatting | Thousands to ones

    Quote Originally Posted by Glenn Kennedy View Post
    Format as

    #,##0,

    and adjust the dps to whatever you want...


    thanks .. but could u please let me know what dps is?

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Number formatting | Thousands to ones

    decimal places...

  5. #5
    Forum Contributor
    Join Date
    11-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003 to Excel 2010
    Posts
    235

    Re: Number formatting | Thousands to ones

    Thanks its done but if there is 450,000 then how it would be shown as 4.5

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Number formatting | Thousands to ones

    450000 would require formatting #.0,,,<CNTRL J>%%
    Attached Files Attached Files
    Last edited by ChemistB; 12-10-2015 at 11:06 AM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Number formatting | Thousands to ones

    To shift decimals by factors of 3 is easy

    Custom Format #.0,
    to custom format by other factors of 10 requires some sneakiness.
    Since % formatting, increases by 10 we can do
    #.0,,% which makes your 45000 look like 4.5%
    Great except the percent sign.
    To hide the % sign, we enter CNTRL + J (line break) between the comma's and the percents, and then format the cell alignment tow wrap. The % is moved to the next line and is not seen. That's the best I can do.

  8. #8
    Forum Contributor
    Join Date
    11-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003 to Excel 2010
    Posts
    235

    Re: Number formatting | Thousands to ones

    i tried to do by _(* 0\.00,_); but its showing 4.50 but i want to see it as 4.5 only

  9. #9
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Number formatting | Thousands to ones

    0\.0, works for 10 thousands place

  10. #10
    Forum Contributor
    Join Date
    11-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003 to Excel 2010
    Posts
    235

    Re: Number formatting | Thousands to ones

    Quote Originally Posted by ChemistB View Post
    0\.0, works for 10 thousands place
    its showing 45 but i need to see 4.5

  11. #11
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Number formatting | Thousands to ones

    See my attachment (post 7) select any cell in column C and "Format Cells" to see formatting

    Oh, when you look at the formatting, you won't see the % signs because CNTRL J moved them to the next line.
    Hopefully, you'll get the idea.

  12. #12
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Number formatting | Thousands to ones

    That's zero backslash period zero comma
    updated worksheet
    Attached Files Attached Files
    Last edited by ChemistB; 12-11-2015 at 09:27 AM.

  13. #13
    Forum Contributor
    Join Date
    11-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003 to Excel 2010
    Posts
    235

    Re: Number formatting | Thousands to ones

    Thanks again but in attached file its no where showing to convert 450,000 as 4.5

  14. #14
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Number formatting | Thousands to ones

    Columns C and E are the same numbers as in column A so C5 and E5 are 45,000. I have noticed that uploading and downloading seems to be erasing some of my comma's in my custom format so am including a picture of what the file should look like.

    I think that if there was another way to do this, someone else would have stepped forward by now.
    Attached Images Attached Images

+ 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. VBA number formatting, thousands separator, no decismals
    By bsapaka in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2014, 12:31 PM
  2. function for number formatting, thousands separator, no decimals
    By bsapaka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2014, 10:36 AM
  3. Currency / number formatting (thousands / millions)
    By konradz in forum Excel General
    Replies: 2
    Last Post: 08-06-2013, 04:23 AM
  4. Syntax for formatting a number with a comma for thousands
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-30-2013, 06:01 PM
  5. Formatting numbers to hide thousands
    By laglenn in forum Excel General
    Replies: 2
    Last Post: 11-02-2009, 07:12 PM
  6. Replies: 1
    Last Post: 07-19-2006, 04:25 PM
  7. formatting in thousands
    By patti in forum Excel General
    Replies: 5
    Last Post: 03-05-2005, 01:07 PM

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