ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Change the base (https://www.excelbanter.com/excel-discussion-misc-queries/26297-change-base.html)

John Wright

Change the base
 
Hi (from a guy in the UK)

I want to input data of a weight in lb into a cell and then use the data so
that it converts it to stones and lb.

For instance if i put in 100lb the other cell will say 7s2lb. (100/14=7
remainder2). 14lb in a stone.

How can i do this?

N Harkawat

=INT(A1/14)&"s"&MOD(A1,7)&"lb"

"John Wright" <John wrote in message
...
Hi (from a guy in the UK)

I want to input data of a weight in lb into a cell and then use the data
so
that it converts it to stones and lb.

For instance if i put in 100lb the other cell will say 7s2lb. (100/14=7
remainder2). 14lb in a stone.

How can i do this?




Bernard Liengme

correction: =INT(A1/14)&"s"&MOD(A1,14)&"lb"
There are 14 lbs in a stone
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"N Harkawat" wrote in message
...
=INT(A1/14)&"s"&MOD(A1,7)&"lb"

"John Wright" <John wrote in message
...
Hi (from a guy in the UK)

I want to input data of a weight in lb into a cell and then use the data
so
that it converts it to stones and lb.

For instance if i put in 100lb the other cell will say 7s2lb. (100/14=7
remainder2). 14lb in a stone.

How can i do this?






John Wright

Yeah i spotted that thanks.

Now for the next question based on this same theme. If i want to graph the
results i cannot see the data as a number and therefore it won't graph. Is
there a solution?

"Bernard Liengme" wrote:

correction: =INT(A1/14)&"s"&MOD(A1,14)&"lb"
There are 14 lbs in a stone
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"N Harkawat" wrote in message
...
=INT(A1/14)&"s"&MOD(A1,7)&"lb"

"John Wright" <John wrote in message
...
Hi (from a guy in the UK)

I want to input data of a weight in lb into a cell and then use the data
so
that it converts it to stones and lb.

For instance if i put in 100lb the other cell will say 7s2lb. (100/14=7
remainder2). 14lb in a stone.

How can i do this?








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

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