ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   only show decimals (https://www.excelbanter.com/excel-discussion-misc-queries/135764-only-show-decimals.html)

Steve Holbrook

only show decimals
 
I have a need to only show the figure to the right of a decimal point not the
whole number. Reason is to calculate the best bar length to use i.e. the
decimal bit is the size of the offcut and I need to find the optimum size.


Dave Peterson

only show decimals
 
You could use another cell:

=mod(a1,1)
or
=a1-int(a1)


Steve Holbrook wrote:

I have a need to only show the figure to the right of a decimal point not the
whole number. Reason is to calculate the best bar length to use i.e. the
decimal bit is the size of the offcut and I need to find the optimum size.


--

Dave Peterson

David Biddulph[_2_]

only show decimals
 
=MOD(A1,1)
--
David Biddulph

"Steve Holbrook" <Steve wrote in message
...
I have a need to only show the figure to the right of a decimal point not
the
whole number. Reason is to calculate the best bar length to use i.e. the
decimal bit is the size of the offcut and I need to find the optimum size.





All times are GMT +1. The time now is 10:13 PM.

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