Can anyone help with this formula. in excel i can manage it, but in M.... that's a different matter entirely. i am setting traffic lights to indicate progress on a report.
the formula in excel for the Indicator colour is:
Col D contains the % Completion of each project. So, if its 100%, excellent. GREEN. if its 0 or Null, AND we are past the start date, Bad RED.
Col A | Col B | Col C | Col D | Col E | Col F | Col G | Col H | Today |
Contract | Start Date for Next Activity | End Date for Next Activity | % Complete | Duration | Calculated Days | Progress Date | Indicator | 26/04/2024 |
BRD-STP-U-0004 | 18/12/2020 | 7/07/2023 | 60 | 931 | 558.6 | 29/06/2022 | RED | |
UW001354 | 3/04/2023 | 31/07/2023 | 65 | 119 | 77.35 | 19/06/2023 | RED | |
UW001090 | 9/04/2024 | 30/04/2024 | 20 | 21 | 4.2 | 13/04/2024 | AMBER | |
UW000457 | 3/11/2023 | 1/03/2024 | 119 | 0 | 3/11/2023 | RED | ||
UW000459 | 3/11/2023 | 1/03/2024 | 75 | 119 | 89.25 | 31/01/2024 | RED | |
UW000723 | 3/11/2023 | 1/03/2024 | 75 | 119 | 89.25 | 31/01/2024 | RED | |
BRD-STP-R-0048 | 7/07/2023 | 22/03/2024 | 70 | 259 | 181.3 | 4/01/2024 | RED | |
UW001457 | 8/03/2024 | 29/03/2024 | 100 | 21 | 21 | 29/03/2024 | GREEN | |
the formula in excel for the Indicator colour is:
Code:
=IF(D2=100,"GREEN",IF(AND(OR(D2=0,D2=""),TODAY()>B2),"RED",IF((TODAY()-(B2+((D2/100)*E2)))>14,"RED",IF(AND((TODAY()-(B2+((D2/100)*E2)))<=14,(TODAY()-(B2+((D2/100)*E2)))>=0),"AMBER","GREEN"))))
Col D contains the % Completion of each project. So, if its 100%, excellent. GREEN. if its 0 or Null, AND we are past the start date, Bad RED.
Last edited: