Decimal value help

Damo10

Active Member
Joined
Dec 13, 2010
Messages
460
Hi,

I am looking for a formula that will give me the decimal value from a number. i.e. if cell A1 contains 10.2 then the formula result in cell B2 will be 0.2

Regards
 
Alternatively this should produce the same result:

=VALUE("0."&IFERROR(MID(A1,SEARCH(".",A1,1)+1,1),0))

Here, the number in bold can be toggled to the number of digits you want after the decimal point:

Note: IFERROR is available in Excel 2007 and above.
Here is another alternative that is not dependent on Excel being version 2007 or above (same ability to change decimal size with the bold number as you indicated)...

=ROUNDDOWN(A1,1)-INT(A1)
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,224,525
Messages
6,179,317
Members
452,905
Latest member
deadwings

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top