Extract everything to the right of a decimal as an integer?

dpucane

New Member
Joined
Jul 8, 2013
Messages
11
UzZSxFO.jpg
Is there a way have the "decimal" come up with everything to the right of the decimal in "strike" as an integer?
For example, next to "146.5" would be "5", next to "146.33" would be "33", "152.75":"75" and so on. Right now I have
=--RIGHT(DJ11,FIND(".",DJ11)-3)
but I have to change the "3" at the end to "2" whenever there's 2 decimal numbers (.33) as opposed to 1 (.5)

Thanks for any help you can give me.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try

=--RIGHT(A1,LEN(A1)-FIND(".",A1))

Assuming there will always be a decimal value in the cell.
If the value is a whole number, it will return #VALUE! error.

That could be handled with ISERROR or something.
 
Upvote 0
Something like this


Excel 2010
AB
1146.55
276.7575
3134.556556
Sheet1
Cell Formulas
RangeFormula
B1=RIGHT(A1,LEN(A1)-FIND(".",A1))
 
Upvote 0

Forum statistics

Threads
1,214,872
Messages
6,122,026
Members
449,061
Latest member
TheRealJoaquin

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