ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to repalce numbers after a decimal (https://www.excelbanter.com/excel-discussion-misc-queries/60586-how-repalce-numbers-after-decimal.html)

dpscoupe

How to repalce numbers after a decimal
 
Lets say I have a column of numbers, that looks like this:

10.242
11.817
12.915
14.805

and I want it to look like this:

10.95
11.95
12.95
14.95

What function could be used to accomplish this?



David Billigmeier

How to repalce numbers after a decimal
 
Format-Cells-Number tab-Click 'Custom', and enter this:

0.95


--
Regards,
Dave


"dpscoupe" wrote:

Lets say I have a column of numbers, that looks like this:

10.242
11.817
12.915
14.805

and I want it to look like this:

10.95
11.95
12.95
14.95

What function could be used to accomplish this?



RagDyeR

How to repalce numbers after a decimal
 
One way:

=INT(A1)+0.95

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"dpscoupe" wrote in message
...
Lets say I have a column of numbers, that looks like this:

10.242
11.817
12.915
14.805

and I want it to look like this:

10.95
11.95
12.95
14.95

What function could be used to accomplish this?




Ron Coderre

How to repalce numbers after a decimal
 
Try this:
Select the range of values
EditReplace
Find what: .*
Replace with: .95
Click [Replace All]

Does that help?

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


"dpscoupe" wrote:

Lets say I have a column of numbers, that looks like this:

10.242
11.817
12.915
14.805

and I want it to look like this:

10.95
11.95
12.95
14.95

What function could be used to accomplish this?



dpscoupe

How to repalce numbers after a decimal
 
Thanks! Got it licked now!

"RagDyeR" wrote:

One way:

=INT(A1)+0.95

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"dpscoupe" wrote in message
...
Lets say I have a column of numbers, that looks like this:

10.242
11.817
12.915
14.805

and I want it to look like this:

10.95
11.95
12.95
14.95

What function could be used to accomplish this?






All times are GMT +1. The time now is 01:02 PM.

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