#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Decimal Places

How do I remove a decimal place to return the following

0900.000 to 0900000
I know I can use the left and right function and & them, the problem is the
first 4 digits can be 5 or 6 digits
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Decimal Places

Why not multiply by 1000?
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Rab Swinney" wrote in message
...
How do I remove a decimal place to return the following

0900.000 to 0900000
I know I can use the left and right function and & them, the problem is
the
first 4 digits can be 5 or 6 digits



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Decimal Places

Are there always 3 decimals and do you always want it to be an integer
where those decimals are converted into integers? If so just multiply
your number with 1000, one way

put 1000 in an empty cell, copy it, select the numbers you want to
change, do editpaste special and select multiply



Regards,

Peo Sjoblom

Rab Swinney wrote:
How do I remove a decimal place to return the following

0900.000 to 0900000
I know I can use the left and right function and & them, the problem is the
first 4 digits can be 5 or 6 digits

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Decimal Places

First, just multiply by 1000
2nd, change the formating from 0000.000 to just "Number"


"Rab Swinney" wrote:

How do I remove a decimal place to return the following

0900.000 to 0900000
I know I can use the left and right function and & them, the problem is the
first 4 digits can be 5 or 6 digits

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Decimal Places

Is the value a TEXT value or is it a number with a custom format?

A1 = (TEXT value) 0900.000

=SUBSTITUTE(A1,".","")

Returns TEXT value 0900000

Biff

"Rab Swinney" wrote in message
...
How do I remove a decimal place to return the following

0900.000 to 0900000
I know I can use the left and right function and & them, the problem is
the
first 4 digits can be 5 or 6 digits





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 418
Default Decimal Places

Rab Swinney wrote:
How do I remove a decimal place to return the following
0900.000 to 0900000
I know I can use the left and right function and & them, the problem is the
first 4 digits can be 5 or 6 digits


If your original number (0900.000) is text, the following might do the
job for you:

=substitute(A1,".","")

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
How many decimal places can a cell display? Spaz Excel Worksheet Functions 10 April 3rd 06 08:33 PM
Formula for: Format Decimal places? nastech Excel Discussion (Misc queries) 16 November 4th 05 02:25 PM
Excel adds phantom decimal places: why? Dave O Excel Discussion (Misc queries) 1 August 16th 05 06:25 PM
Max decimal places SusieQ Excel Discussion (Misc queries) 1 July 13th 05 07:57 PM
Changing default decimal places Zecarioca Excel Discussion (Misc queries) 2 April 13th 05 08:22 PM


All times are GMT +1. The time now is 09:32 AM.

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

About Us

"It's about Microsoft Excel"