Need some help please...

Zacequinox

New Member
Joined
Nov 13, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi all,
I am after a formula that adds months to a date then returns text:
Ive got a 12 month cycle:
If there is more than 9 months remaining then, blank
If there is between 9 months and 1 month remaining then, 3 months
If there is less than 1 month then, 1 month
If it is today then, Due Now
If is older than today then, overdue
Any help on this would be really appreciated.
01-Nov-21
01-Jan-213 months
01-Jan-213 months
01-Dec-211 month
01-Nov-20Due Now
01-Oct-20Overdue
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Book5
AB
1today11/13/2021
2
3DueSpec
49/9/2022 
51/27/20223 Months
612/3/20211 Month
711/13/2021Due Now
811/3/2021Overdue
Sheet1
Cell Formulas
RangeFormula
B4:B8B4=LOOKUP(A4-TODAY(),{-9999,0,1,31,270},{"Overdue","Due Now","1 Month","3 Months",""})
 
Upvote 0
Welcome to the MrExcel board!

To be more accurate with the months I think you will need a longer formula. See if this does what you want.

21 11 14.xlsm
AB
1Today14/11/2021
2
3DateStatus
414/11/2021Due Now
514/10/2022 
613/08/20223 months
728/11/20211month
814/08/2021Overdue
914/12/20213 months
Due Status
Cell Formulas
RangeFormula
B1B1=TODAY()
B4:B9B4=IF(EDATE(B$1,9)<=A4,"",IF(EDATE(B$1,1)<=A4,"3 months",IF(B$1>A4,"Overdue",IF(B$1=A4,"Due Now","1month"))))
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,752
Members
448,989
Latest member
mariah3

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