Calculating months based on Balance amount vs monthly deduction

fayez_MrExcel

Active Member
Joined
Oct 29, 2005
Messages
444
Office Version
  1. 365
Platform
  1. Windows
Im tring to get the no. of months/days AND years/months from Balance amount vs monthly deduction. But the 2 decimal result seems not correct.
  • In D6 im expecting 145 months and 7 days, while
  • in D7, im expecting 12 years & 9months

Book5
CDE
3DetailsValueExpected Result
4Monthly Deduction5,279.82
5Amortizaton Balance754,881.18
6No. of Months/days143.67145.07
7No. of Years / Months12.8512.09
Sheet1
Cell Formulas
RangeFormula
D6D6=IF(MOD((D5/D4),1)>0.3,(D5/D4)+1-0.3,(D5/D4))
D7:E7D7=IF(MOD((D6/12),1)>0.11,(D6/12)+1-0.12,(D6/12))




Just would like to clarify my query, the quotient of 143.67 represent months days. Then i'd like to convert this integer into years & months
 
Last edited by a moderator:

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
How are you calculating your "expected result" in column E?
 
Upvote 0
T202301a.xlsm
ABCD
1DetailsValue
2Monthly Deduction5,279.82
3Amortizaton Balance754,881.18
4No. of Months/days142.97479529142 Months 29 days
5No. of Years / Months11.91456620.9145662211 Years 10.8 Months
6
1b
Cell Formulas
RangeFormula
B4B4=B3/B2
C4C4=INT(MOD(B4,1)*30)
D4D4=INT(B4)&" Months "&INT(MOD(B4,1)*30)&" days"
B5B5=B4/12
C5C5=MOD(B5,1)
D5D5=INT(B5)&" Years "&ROUND(MOD(B5,1),1)*12&" Months"
 
Upvote 0
id like to convert an integer into years and months if the number represents months and days. Example 143.67 (where 143 is a month and .67 is days)
Maybe my question wasn't clear. What is the arithmetic you used to get those answers?
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,022
Latest member
RobertV1609

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