Countdown to Date in Excel

dariuzthepole

Board Regular
Joined
Jul 23, 2008
Messages
111
Hi everybody,

I have constructed a spreadsheet of my finances. I have a loan that will be paid off in 3.5 years (displayed in cell as 3.5). This figure is derived from total owed divided by monthly payments, divided by the 12 months.

The question is, as the 3.5 figure is derived from a formula itself (i.e. =D17/150/12), how can I show this as "3 Years 6 Months"? This can be shown in a different cell, that's not a problem, and in as many stages as possible.

I've tried using the DATEDIF function with no success.

Any help you could give me would be great.

Thanks!

dariuzthepole

P.S. The loan is interest free, saving a lot of hassle with the above formula!
 

Some videos you may like

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Welcome to the Board.

If your number of years is in A1:

=INT(A1)&" years "&MOD(A1,1)*12&" months"
 

dariuzthepole

Board Regular
Joined
Jul 23, 2008
Messages
111
Thanks Andrew, works a treat!

Can I ask what the MOD function does? I know INT displays the figure as an integer.

Thanks again.

dariuzthepole
 

Watch MrExcel Video

Forum statistics

Threads
1,122,600
Messages
5,597,114
Members
414,125
Latest member
iQQ

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
Top