Datedif(??

Pizzio

Active Member
Joined
Apr 28, 2005
Messages
275
I'm looking for a formula that will give me the number of years and months in this format YY.M
 
T202407a.xlsm
ABCDEFG
1StartEnd
201-Jan-0024-Dec-24241124.1124.11
3
2a
Cell Formulas
RangeFormula
D2D2=DATEDIF(B2,C2,"y")
E2E2=DATEDIF(B2,C2,"ym")
F2F2=ROUNDDOWN(DOLLARFR((C2-B2)/30.45/12,12),2)
G2G2=ROUNDDOWN(DOLLARFR(YEARFRAC(B2,C2),12),2)
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,221,558
Messages
6,160,486
Members
451,651
Latest member
Penapensil

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