Forum Discussion
Excel Formula with multiple IF conditions
- Jul 11, 2021
Use
=IF(I5="", IF(G5<TODAY(), "WIP Delayed", "WIP On Track"), IF(I5<=G5, "Completed On Track", "Completed Delayed"))
Need one more favor, by adding an additional condition to the expression you shared.
that is, if G5 > i5, 'Completed Ahead Time'. This is to check if the task was completed much ahead the Planned task date. We have added Completed OnTrack, which could be marked if g5=i5.
=IF(I5="", IF(G5<TODAY(), "WIP Delayed", "WIP On Track"), IF(I5<=G5, "Completed On Track", "Completed Delayed"))
That would be
=IF(I5="", IF(G5<TODAY(), "WIP Delayed", "WIP On Track"), IF(I5<G5, "Completed Ahead Of Time", IF(I5=G5, "Completed On Track", "Completed Delayed")))
If you have Excel 2019 or Excel in Microsoft 365, you can also use
=IF(I5="", IF(G5<TODAY(), "WIP Delayed", "WIP On Track"), IFS(I5<G5, "Completed Ahead Of Time", I5=G5, "Completed On Track", I5>G5, "Completed Delayed"))
- Mps1979Jul 11, 2021Copper Contributorit worked well. Thank you so much