Find expiry date and informing if cheque near to expiry

forginganewone

Board Regular
Joined
Mar 14, 2018
Messages
64
[FONT=&quot]This is the formula i am trying to get to work : =IF(COUNTA($L3)=1,"Delivered",IF(EDATE($I3,6)<=TODAY(),"Expired",IF((EDATE($I3,5))<TODAY()-30,"Near expiry","Pending")))[/FONT]
[FONT=&quot]I just want to get this part to work fine : IF((EDATE($I3,5))<TODAY()-30,"Near expiry","Pending")[/FONT]
[FONT=&quot]The cheque date is in I column.[/FONT]
[FONT=&quot]Required : The cheques expire after 6months from their date. So i want it to start showing near expiry status if their last 30 days have started but show expired if today() is > edate(I3,6).
But if both of these above criteria are false and CountA($L3)=0 then show "pending"[/FONT]
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
You dont need COUNTA

=IF($L3<>0,"Delivered",IF(EDATE($I3,6)<=TODAY(),"Expired",IF(EDATE($I3,5)>=TODAY(),"Pending")))
 
Upvote 0
There is also the 4th option of near expiry which was the main trouble.
When it is more than 5months and less than 6months form cheque date it should show "Near to expiry"
after 6 months it should show "Expired"
Time between cheque date and 5months "Pending"
 
Upvote 0
Try

=IF($L3<>0,"Delivered",IF(EDATE($I3,6)<=TODAY(),"Expired",IF(EDATE($I3,5)<=TODAY(),"Near to expiry","Pending")))
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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