Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default how to place a decimal after 3rd digit

How do I place a decimal after the third digit of a number (e.g., ICD-9
code). Everything I have tried places decimals from the end of the number.
I need to place it third from the beginning of the number.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default how to place a decimal after 3rd digit

Allison

I don't undertsand. Please post some before and after decimal insertion
numbers

Mike

"Alison" wrote:

How do I place a decimal after the third digit of a number (e.g., ICD-9
code). Everything I have tried places decimals from the end of the number.
I need to place it third from the beginning of the number.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default how to place a decimal after 3rd digit

I need to turn these numbers:

6926
42410
4139

into:

692.6
424.10
413.9


"Mike H" wrote:

Allison

I don't undertsand. Please post some before and after decimal insertion
numbers

Mike

"Alison" wrote:

How do I place a decimal after the third digit of a number (e.g., ICD-9
code). Everything I have tried places decimals from the end of the number.
I need to place it third from the beginning of the number.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default how to place a decimal after 3rd digit

Hi,

If you really want to display ICD-9 as ICD.-9 then you will not be able to
do it unless the -9 is at the end of every 3 letter entry.

IF you want to change the items from ICD-9 to ICD.9 then use the Replace
command and replace - with ".".

IF you want to change the items from ICD-9 to ICD.-9 then use the Replace
command and replace - with ".-".

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"Alison" wrote:

How do I place a decimal after the third digit of a number (e.g., ICD-9
code). Everything I have tried places decimals from the end of the number.
I need to place it third from the beginning of the number.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default how to place a decimal after 3rd digit

On Mon, 27 Oct 2008 12:18:05 -0700, Alison
wrote:

How do I place a decimal after the third digit of a number (e.g., ICD-9
code). Everything I have tried places decimals from the end of the number.
I need to place it third from the beginning of the number.


You will need to enter the codes as TEXT. If you enter them as numbers, Excel
will drop the leading zeros and I know of no way to differentiate, for example,

012.8 from 128.0 if they are both entered as numbers without a decimal point.

Excel will store both as 128, but one is a type of TB, and the other is a
helminthiasis.

After entering the value as text, use:

=LEFT(A1,3)&"."&MID(A1,4,20)

20 is just some value longer than the longest code.
--ron


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default how to place a decimal after 3rd digit

Thank you!! It worked. I did have to create the formula in a separate cell.
Once I got the numbers with correct decimals in place, I just copied and
pasted them into the original cells.

"Ron Rosenfeld" wrote:

On Mon, 27 Oct 2008 12:18:05 -0700, Alison
wrote:

How do I place a decimal after the third digit of a number (e.g., ICD-9
code). Everything I have tried places decimals from the end of the number.
I need to place it third from the beginning of the number.


You will need to enter the codes as TEXT. If you enter them as numbers, Excel
will drop the leading zeros and I know of no way to differentiate, for example,

012.8 from 128.0 if they are both entered as numbers without a decimal point.

Excel will store both as 128, but one is a type of TB, and the other is a
helminthiasis.

After entering the value as text, use:

=LEFT(A1,3)&"."&MID(A1,4,20)

20 is just some value longer than the longest code.
--ron

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default how to place a decimal after 3rd digit

On Mon, 27 Oct 2008 16:32:01 -0700, Alison
wrote:

Thank you!! It worked. I did have to create the formula in a separate cell.
Once I got the numbers with correct decimals in place, I just copied and
pasted them into the original cells.


Glad to help. Thanks for the feedback.
--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Decimal place formatting Big Ron Excel Discussion (Misc queries) 2 May 16th 07 07:57 PM
Subtracting two 2-decimal place numbers gives result 13-decimal places? [email protected] Excel Worksheet Functions 5 March 12th 07 10:38 PM
Converting 2-place decimal value to floating point decimal number with leading zero Kermit Piper Excel Discussion (Misc queries) 3 March 18th 06 06:20 PM
changing to two place decimal Debbie Excel Worksheet Functions 1 February 5th 06 04:53 AM
extract decimal place digit craig_100 Excel Worksheet Functions 3 November 29th 05 06:59 PM


All times are GMT +1. The time now is 05:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"