+ Reply to Thread
Results 1 to 9 of 9

putting a decimal in a number that doesn't have one.

  1. #1
    Registered User
    Join Date
    04-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    83

    putting a decimal in a number that doesn't have one.

    I have a number 099509980999. It means High 99.5% Mid 99.8% and Low 99.9% accuracy. I have been able to break it down to 0995 0998 0999 in a number format. Now I want it to look like 099.5 099.8 099.9 using a formula. I want the final product to be:

    Cell A1 "High 099.5"
    Cell B1 "Mid 099.8"
    Cell C1 "Low 099.9"

    I know I can use a & symbol to get the words in. Its the decimal I can't get in.

    This is more difficult than I thought.

    Can anyone help.

    Thanks

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,629

    Re: putting a decimal in a number that doesn't have one.

    What formula and in which cell?
    Ben Van Johnson

  3. #3
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: putting a decimal in a number that doesn't have one.

    Hi,

    Perhaps something like this:

    Excel 2016 (Windows) 64 bit
    A
    B
    C
    D
    E
    1
    High 099.5 Mid 099.8 Low 099.9 099509980999
    Sheet: Sheet14

    Excel 2016 (Windows) 64 bit
    A
    B
    C
    1
    ="High "&REPLACE(LEFT(E1,4),4,0,".") ="Mid "&REPLACE(MID(E1,5,4),4,0,".") ="Low "&REPLACE(RIGHT(E1,4),4,0,".")
    Sheet: Sheet14

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: putting a decimal in a number that doesn't have one.

    With that 12 digit number in F1 ... you will need to enter it as text. Insert an "'" in front of the leading 0.
    In A1 and filled across.

    Formula: copy to clipboard
    Please Login or Register  to view this content.




    A
    B
    C
    D
    E
    F
    1
    High 099.5
    Mid 099.8
    Low 099.9
    099509980999
    Dave

  5. #5
    Registered User
    Join Date
    04-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    83

    Re: putting a decimal in a number that doesn't have one.

    Perfect, Thanks

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: putting a decimal in a number that doesn't have one.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    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: putting a decimal in a number that doesn't have one.

    Here is a simplified version of FlameRetired's formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 07-26-2018 at 10:46 AM.
    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

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: putting a decimal in a number that doesn't have one.

    @ frankday

    You're welcome. Thanks for the feedback.

    @AlKey

    Cool. Thanks for the backup.

  9. #9
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: putting a decimal in a number that doesn't have one.

    Quote Originally Posted by AlKey View Post
    Here is a simplified version of FlameRetired's formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I'm not so sure it's "simplified", as OP stated he wanted the results With the leading 0 as FlameRetired's version would produce.

+ 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. Conditional formatting: putting 0 when the cell is blank doesn't work
    By Vitalite in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-02-2017, 05:44 AM
  2. [SOLVED] copy number with 3 or more decimal places and paste the actual value as 2 decimal number
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-29-2013, 12:57 AM
  3. Replies: 2
    Last Post: 06-29-2012, 07:52 PM
  4. Paste two decimal number in excel without extra decimal places appearing
    By jeffery_frick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2009, 07:49 PM
  5. Replies: 3
    Last Post: 03-18-2006, 02:25 PM
  6. [SOLVED] how do I stop excel putting a space after a decimal point
    By Billious in forum Excel General
    Replies: 1
    Last Post: 02-16-2006, 04:25 AM
  7. [SOLVED] Putting decimal values in a cell.
    By Craig in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2006, 01:35 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