Change remainder to whole number?

dkeith1977

New Member
Joined
Sep 4, 2017
Messages
2
I want to basically be able to use the remainder as a whole number.
So I may have a problem that is 277/10 = 27.7 So my remainder is .7 , I want to be left with only 7
I need to be able to take any remainder and subtract it from 10
So if my answer has a remainder of .7 I need to be able to do 10-7=3
If my answer has a remainder of .4 I need to be able to do 10-4=6 and so on.


I can not use RIGHT(A1,1) because it is a remainder so right goes to the end of the remainder which could be .699999999995 and it returns 5.


So I thought about trying to strip it somehow but have not been able to come up with anything. Any help would be greatly appreciated!


Thanks in advance.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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