Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
sr25
 
Posts: n/a
Default formating the number from 12345.1 to 12345.001

I have the column with the data 1234.1 or 12345678.1 and I would like to
change them adding 00 zeros right after the period and the result should be
1234.001 Any help is appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default formating the number from 12345.1 to 12345.001

That's not a formatting issue....you want to actually change the value of the
cell.

This formula might work for you:
A1: 1234.1
B1: =INT(A1)+MOD(A1,1)*0.01

Does that help?

***********
Regards,
Ron


"sr25" wrote:

I have the column with the data 1234.1 or 12345678.1 and I would like to
change them adding 00 zeros right after the period and the result should be
1234.001 Any help is appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
JE McGimpsey
 
Posts: n/a
Default formating the number from 12345.1 to 12345.001

One way:

Format/Cells/Number/Custom 0.\0\00


In article ,
"sr25" wrote:

I have the column with the data 1234.1 or 12345678.1 and I would like to
change them adding 00 zeros right after the period and the result should be
1234.001 Any help is appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default formating the number from 12345.1 to 12345.001

Formatting will only change how it looks, but you could do it using
#."00"###
as the custom number format. If you actually want to change the cell you
will need a dummy column using text functions to change the number and then
copy and paste special pasting values.

"sr25" wrote:

I have the column with the data 1234.1 or 12345678.1 and I would like to
change them adding 00 zeros right after the period and the result should be
1234.001 Any help is appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default formating the number from 12345.1 to 12345.001

It took me a while to figure out the formula you need, and then I saw Ron's
post, but this formula will also work.
=VALUE(TEXT(A1,"#.\0\0#"))
This will work if you have only one digit after the decimal.

"Sloth" wrote:

Formatting will only change how it looks, but you could do it using
#."00"###
as the custom number format. If you actually want to change the cell you
will need a dummy column using text functions to change the number and then
copy and paste special pasting values.

"sr25" wrote:

I have the column with the data 1234.1 or 12345678.1 and I would like to
change them adding 00 zeros right after the period and the result should be
1234.001 Any help is appreciated.



  #6   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default formating the number from 12345.1 to 12345.001

I would use Data TextToColumns, using the decimal as the delimiter and in
C1 put this formula and copy down, (note, column C must be formatted for
three place decimals...........

=(A1&".00"&B1)*1

Vaya con Dios,
Chuck, CABGx3



"sr25" wrote:

I have the column with the data 1234.1 or 12345678.1 and I would like to
change them adding 00 zeros right after the period and the result should be
1234.001 Any help is appreciated.

  #7   Report Post  
Posted to microsoft.public.excel.misc
sr25
 
Posts: n/a
Default formating the number from 12345.1 to 12345.001

Thanks JE it worked!!!!

"JE McGimpsey" wrote:

One way:

Format/Cells/Number/Custom 0.\0\00


In article ,
"sr25" wrote:

I have the column with the data 1234.1 or 12345678.1 and I would like to
change them adding 00 zeros right after the period and the result should be
1234.001 Any help is appreciated.


  #8   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default formating the number from 12345.1 to 12345.001

Be advised, a formatting solution is only an "appearance"
solution.............the numbers will still be 12345.1 and 12345678.1 if you
have to do any math with them............

Vaya con Dios,
Chuck, CABGx3




"sr25" wrote:

Thanks JE it worked!!!!

"JE McGimpsey" wrote:

One way:

Format/Cells/Number/Custom 0.\0\00


In article ,
"sr25" wrote:

I have the column with the data 1234.1 or 12345678.1 and I would like to
change them adding 00 zeros right after the period and the result should be
1234.001 Any help is appreciated.


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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
vlookup with more than number to be retrieved martelie Excel Worksheet Functions 1 October 8th 05 07:33 AM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM
Need number of Saturdays and number of Sundays between 2 dates Class316 Excel Worksheet Functions 1 June 10th 05 02:47 AM
Formating a number Tray Excel Discussion (Misc queries) 3 February 3rd 05 02:19 PM


All times are GMT +1. The time now is 12:18 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"