Hi all,
I'm trying to write a formula with the following conditions to get the % Complete
Complete - 100%
N/A- 100%
Outstanding - 0%
Partially Complete - 50%
for example, if we have 4 tasks - 2 of them are N/A and 2 of them are complete - it should be 100% since N/A and complete acts as 100%
if we have 2 partially complete and 2 complete - it should be 75% complete since Partially Complete acts as 50% - making it 300/400 = 0.75*100% = 75%
This is my formula
=IF(COUNTIFS(CHILDREN(), <>"N/A", CHILDREN(), <>"") < 0, 0, IF(COUNT(CHILDREN([Task Description]@row)) = COUNTIF(CHILDREN(), ""), 0, IF(COUNT(CHILDREN([Task Description]@row)) = COUNTIF(CHILDREN(), "N/A"), 1, (COUNTIFS(CHILDREN(), "Complete", CHILDREN(), <>"N/A") + COUNTIFS(CHILDREN(), "Partially Complete", CHILDREN(), <>"N/A") * 0.5) / (COUNT(CHILDREN([Task Description]@row)) - COUNTIF(CHILDREN(), "N/A")))))
Using this formula when I have 4 tasks - 1 complete, 2 N/A, 1 Outstanding my % complete shows as 50% when it actually should be 75%.
What is wrong with my formula? Your help is greatly appreciated!