Detectiveclem
Active Member
- Joined
- May 31, 2014
- Messages
- 320
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
Hi,
I currently use the following formula which works well and produces the text either "Due" or "Overdue" if no payment has been entered into that cell for the current Month. If payment is not received anytime between the first and last day of the month "Due" appears, this changes to "Overdue" if payment is not recorded when the next/later months are reached. Conditional formatting shows "Due" in Orange and "Overdue" in red. All good so far.
=IF(MONTH(TODAY())>MONTH($P$5),"Overdue",IF(MONTH(TODAY())=MONTH($P$5),"Due",""))
However I would like to add the number of days an from which payment was due or overdue, thus instead of saying simply "Due it would for example say Due 10 days ago, or "Overdue 35 days".
Any help would be appreciated.
I currently use the following formula which works well and produces the text either "Due" or "Overdue" if no payment has been entered into that cell for the current Month. If payment is not received anytime between the first and last day of the month "Due" appears, this changes to "Overdue" if payment is not recorded when the next/later months are reached. Conditional formatting shows "Due" in Orange and "Overdue" in red. All good so far.
=IF(MONTH(TODAY())>MONTH($P$5),"Overdue",IF(MONTH(TODAY())=MONTH($P$5),"Due",""))
However I would like to add the number of days an from which payment was due or overdue, thus instead of saying simply "Due it would for example say Due 10 days ago, or "Overdue 35 days".
Any help would be appreciated.