I have two columns in excel, one with a date and one with a rating 'low, medium, high'. I'm trying to write a formula to put in a third column that checks:
- If A2 = Low and B2 (date) is older than 12 months from today(), output
Overdue - If A2 = Medium and B2 (date) is older than 6 months from today(), output
Overdue - If A2 = High and B2 (date) is older than 3 months from today(), output
Overdue
If these parameters aren't met, output "Current".
This is what I have so far but I'm well aware its not right :) Could someone please point me in the right direction?
Thanks,
=IF(AND(A2="Low",LOOKUP(DATEDIF(B2,TODAY(),"m"),{0,3,6,12},{"Current", "Current" "Current","Overdue"}),(A2="Medium",LOOKUP(DATEDIF(B2,TODAY(),"m"),{0,3,6,12},{"Current","Current","Overdue","Overdue"}),(A2="High",LOOKUP(DATEDIF(B2,TODAY(),"m"),{0,3,6,12},{"Current","Overdue","Overdue","Overdue"})


