I have a similar question to one I posted yesterday.
I have 3 projects that I am currently managing a, b and c. The projects have 3, 4 and 2 initiatives running within them respectively and each of the initiatives has a RAG status (red, amber or green). The project code (a, b or c) is given in cells A1:A9 and is not neccesarily sorted. The corresponding initiative number is listed in cells B1:B9. Cells C1:C9 contain the corresponding RAG status for each initiative. Cells E1:E3 list the projects a, b and c. In cells F1:F3 I am trying to return a rag status for each of the projects based on the following logic:
If any of the initiatives within the project has a 'red' status, that project should aslo have a 'red' status. If none of the initiatives has a 'red' status, but at least one 'amber' status, that project should have an 'amber' status. If all of the initiatives within a project have a 'green' status, that project should also have a 'green' status.
I have 3 projects that I am currently managing a, b and c. The projects have 3, 4 and 2 initiatives running within them respectively and each of the initiatives has a RAG status (red, amber or green). The project code (a, b or c) is given in cells A1:A9 and is not neccesarily sorted. The corresponding initiative number is listed in cells B1:B9. Cells C1:C9 contain the corresponding RAG status for each initiative. Cells E1:E3 list the projects a, b and c. In cells F1:F3 I am trying to return a rag status for each of the projects based on the following logic:
If any of the initiatives within the project has a 'red' status, that project should aslo have a 'red' status. If none of the initiatives has a 'red' status, but at least one 'amber' status, that project should have an 'amber' status. If all of the initiatives within a project have a 'green' status, that project should also have a 'green' status.