ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Converting length from metres to millimetres (https://www.excelbanter.com/excel-discussion-misc-queries/252743-converting-length-metres-millimetres.html)

Rocko

Converting length from metres to millimetres
 
Using a formula I wish to be able to convert the following examples 6.4m,
7.65m, 7.875m, 11.875m, 12.5 & 13.72m to 6400, 7650, 7875, 11875, 12500 &
13720 respectively. As you can see the descriptions used can be between 1 & 3
decimal places & always trailed by an m. Any help would be greatly
appreciated.

Gary''s Student

Converting length from metres to millimetres
 
With data like yours in A1, use:

=1000*LEFT(A1,LEN(A1)-1)

--
Gary''s Student - gsnu200909


"Rocko" wrote:

Using a formula I wish to be able to convert the following examples 6.4m,
7.65m, 7.875m, 11.875m, 12.5 & 13.72m to 6400, 7650, 7875, 11875, 12500 &
13720 respectively. As you can see the descriptions used can be between 1 & 3
decimal places & always trailed by an m. Any help would be greatly
appreciated.


Roger Govier[_3_]

Converting length from metres to millimetres
 
Hi Rocko


With 7.65m in cell A1
=LEFT(A1,len(a1)-1)*1000

--
Regards
Roger Govier

"Rocko" wrote in message
...
Using a formula I wish to be able to convert the following examples 6.4m,
7.65m, 7.875m, 11.875m, 12.5 & 13.72m to 6400, 7650, 7875, 11875, 12500 &
13720 respectively. As you can see the descriptions used can be between 1
& 3
decimal places & always trailed by an m. Any help would be greatly
appreciated.

__________ Information from ESET Smart Security, version of virus
signature database 4752 (20100107) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4752 (20100107) __________

The message was checked by ESET Smart Security.

http://www.eset.com




Rocko

Converting length from metres to millimetres
 
Thanks to you both for your prompt relies, that works great. Have a good day.

Regards,

Rocko

"Roger Govier" wrote:

Hi Rocko


With 7.65m in cell A1
=LEFT(A1,len(a1)-1)*1000

--
Regards
Roger Govier

"Rocko" wrote in message
...
Using a formula I wish to be able to convert the following examples 6.4m,
7.65m, 7.875m, 11.875m, 12.5 & 13.72m to 6400, 7650, 7875, 11875, 12500 &
13720 respectively. As you can see the descriptions used can be between 1
& 3
decimal places & always trailed by an m. Any help would be greatly
appreciated.

__________ Information from ESET Smart Security, version of virus
signature database 4752 (20100107) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4752 (20100107) __________

The message was checked by ESET Smart Security.

http://www.eset.com



.



All times are GMT +1. The time now is 10:52 AM.

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