ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Remove decimals but keep numbers (https://www.excelbanter.com/excel-programming/292874-remove-decimals-but-keep-numbers.html)

Jasmine[_2_]

Remove decimals but keep numbers
 
Is there a way with Excel to remove the decimals from a
number but keep all the digits? For example, if I have a
cell that is in a number format with 123.40, I want it to
look like 12340. Any help would be appreciated.



Frank Kabel

Remove decimals but keep numbers
 
Hi
several ways:
1. if you always have only two decimals multiply the cell with 100
2. enter the formula
=--SUBSTITUTE(A1,".","")
in an adjacent column and copy down

--
Regards
Frank Kabel
Frankfurt, Germany

Jasmine wrote:
Is there a way with Excel to remove the decimals from a
number but keep all the digits? For example, if I have a
cell that is in a number format with 123.40, I want it to
look like 12340. Any help would be appreciated.



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com