Need Help in Dates

Santosh080

Board Regular
Joined
Jul 15, 2016
Messages
77
Office Version
  1. 2021
Platform
  1. Windows
Hello Friends

I have data like this, in "Left over period for maturity" cell use formula. (Difference between Maturity Date & Approched date)

Maturity Date27-01-2017
Approched date22-12-2013
Left over period for maturity3 Years 1 Months 5 Days



In next cell i want data like this,

Months (after ignoring the days) = 37 (Here 3 year+1 month)

When i change Maturity Date & Approched date it should updates.

Can it possible ?

Thanks
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Book5
ABCDE
1Maturity1/27/2017
2Approach12/22/2013
3Months37
43 years, 1 months, 5 days
Sheet1
Cell Formulas
RangeFormula
B3B3=DATEDIF(B2,B1,"M")
B4B4=DATEDIF(B2, B1, "y") &" years, "&DATEDIF(B2, B1, "ym") &" months, " &DATEDIF(B2, B1, "md") &" days"
 
Upvote 0

@SanjayGMusafir

DateDif does not appear in Excel as it is a holdover from the days of Lotus1-2-3. Excel incorporated several of the 1-2-3 formulas as people migrated to Excel in the early days. It has kept the formula but not made it part of intellisense.
 
Upvote 0

Forum statistics

Threads
1,216,172
Messages
6,129,291
Members
449,498
Latest member
Lee_ray

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