Excel formula to calculate number of months over due

kumar0318

New Member
Joined
Mar 25, 2022
Messages
11
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
Hello,

I'm trying to calculate the number of months past due from a given date.

For example: If my date is given as 06/25/2020

I would like to see in the new column how many months this is overdue from 06/26/2020 to the previous month (Feb 2022).

Thank you for your help in this matter.
 

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"
Hi,

Try this:

Book3.xlsx
AB
1DateMonths pass as of Last month
26/25/202020
Sheet1067
Cell Formulas
RangeFormula
B2B2=DATEDIF(A2,TODAY(),"m")-1
 
Upvote 0
I just realized that I didn't think about the status if there is a future date. How do you build the above formula to include the status "on track" if there is any future date?
 
Upvote 0
Not sure if I understand fully, may be this:

Book3.xlsx
AB
1DateMonths pass as of Last month
26/25/202020
33/31/2022on track
Sheet1063
Cell Formulas
RangeFormula
B2:B3B2=IF(EDATE(A2,1)>TODAY(),"on track",DATEDIF(A2,TODAY(),"m")-1)
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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