ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help Me Need To Delete Decimals (https://www.excelbanter.com/excel-discussion-misc-queries/265346-help-me-need-delete-decimals.html)

Cass3486

Help Me Need To Delete Decimals
 
Hello...need a quick answer if anyone can help out....
I'm trying to format about 10,000 prices to end up having no decimals but retaining the numbers...not the value.
For example:

$315.50

to

31550

I've tried multiplying by 100 and copying the formula down the column, but it's only giving me the initial value although when you click on a cell it's showing that the cell should be reading differently. If that makes any sense...I've been doing this for almost 3 hours now...pleeeease help!!

tbirdright

In a separate column, multiply the formatted number you want to change by 100, copy this formula down the list, select all items in new column, copypaste specialvaluesokay

Quote:

Originally Posted by Cass3486 (Post 958712)
Hello...need a quick answer if anyone can help out....
I'm trying to format about 10,000 prices to end up having no decimals but retaining the numbers...not the value.
For example:

$315.50

to

31550

I've tried multiplying by 100 and copying the formula down the column, but it's only giving me the initial value although when you click on a cell it's showing that the cell should be reading differently. If that makes any sense...I've been doing this for almost 3 hours now...pleeeease help!!


wickedchew

Quote:

Originally Posted by Cass3486 (Post 958712)
Hello...need a quick answer if anyone can help out....
I'm trying to format about 10,000 prices to end up having no decimals but retaining the numbers...not the value.
For example:

$315.50

to

31550

I've tried multiplying by 100 and copying the formula down the column, but it's only giving me the initial value although when you click on a cell it's showing that the cell should be reading differently. If that makes any sense...I've been doing this for almost 3 hours now...pleeeease help!!

Supposing that the value in A1 is $315.50

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

Then format the cell as a GENERAL number.

Another trick is, let's say all your prices are in column A. In cell A2, input 100. Then copy A2, highlight all your prices then Right Click Paste Special Multiply. Then format the cell as a GENERAL number.


All times are GMT +1. The time now is 12:49 AM.

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