ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to convert a decimal number to a non-decimal number? (https://www.excelbanter.com/excel-worksheet-functions/9168-how-convert-decimal-number-non-decimal-number.html)

snickers22

How to convert a decimal number to a non-decimal number?
 
I'm looking to convert a decimal number(3.75) to a non-decimal number(375)
using a formulas. as I have hundreds of these to do.

N Harkawat

=--SUBSTITUTE(A1,".","")
and copy the formula down


"snickers22" wrote in message
...
I'm looking to convert a decimal number(3.75) to a non-decimal number(375)
using a formulas. as I have hundreds of these to do.




Chip Pearson

Why not something like

=A1*100


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"snickers22" wrote in
message
...
I'm looking to convert a decimal number(3.75) to a non-decimal
number(375)
using a formulas. as I have hundreds of these to do.




BOB

Try
In a blank cell enter 100. Copy this cell and then highlight the cells you
want to convert. Right click and click paste special select values and
multiply.

HTH

"snickers22" wrote:

I'm looking to convert a decimal number(3.75) to a non-decimal number(375)
using a formulas. as I have hundreds of these to do.


Ken Wright

Are all your numbers 2 decimal places or are some greater. Assuming you
have a mix, put 100 in a cell, copy the cell, select all your values at once
and do Edit / Paste special / Multiply. Now format all the cells so that
you only see integers and then do Tools / Options / Calculation tab / Check
precision as displayed. Hit OK and then go back in and uncheck it. Note
though that you will lose any decimal data anywhere in that tab.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"snickers22" wrote in message
...
I'm looking to convert a decimal number(3.75) to a non-decimal number(375)
using a formulas. as I have hundreds of these to do.





All times are GMT +1. The time now is 06:44 AM.

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