Sep 24 2018 05:28 AM
Can anyone please help create a formula for me, I have two date columns, start date and due date. I also have a % completion column.
I need to RAG rate the status based up on todays date, proximity to target completion date and % completion. These are the results I need returning.
If due date is greater than or equal to 2 weeks ahead of todays date, or if due date is less than or equal to 2 weeks ahead of todays date but % completion is greater than or equal to 50% then return 'G', if due date is less that 2 weeks ahead of todays date and % completion is less than 50% then return A, if due date is equal to todays date or prior to todays date and %completion is less than 100% then return 'R' - hope that makes sense.....help!!!
Sep 24 2018 06:03 AM
Perhaps
=IF((B1<=TODAY())*(C1<1),"R",IF((B1<TODAY()+14)*(C1<0.5),"A",IF((B1>=TODAY()+14)+(B1<TODAY()+14)*(C1>0.5),"G","nothing")))
if due date is in B and % in C
Sep 24 2018 06:44 AM
Thanks so much for the reply, its nearly right, but I'm getting an A response where the work is 50% complete or more and there is less than 2 weeks to the due date, I'm also getting an A when the work is 100% complete but the due date has passed, I'd expect G for both of these, can you have another look please. Thanks so much.
Sep 24 2018 07:05 AM
SolutionIt gives G
and attached
Sep 24 2018 08:37 AM
fantastic, my mistake! thanks again.
Sep 24 2018 07:05 AM
Solution