meaningofexcel
New Member
- Joined
- Jul 25, 2018
- Messages
- 9
Hi,
I have a conditional formatting formula that "paints" the cell of a gantt chart start and end dates. I'm introducing Travel date to the equation but this date is optional, sometimes it's empty, sometime it's not.
How can I build this formula to look at the travel date as well if it exists?
Column H is Travel Date; Column I is Start Date, Column J is End Date.
For comparing 2 dates my formula was:
=and(AC$2>=$I3,AC$2<=$J3)
I tried this for 3 dates but it doesn't work:
=AND(AC$2>=$H3, OR(AC$2>=$I3),AC$2<=$J3)
Thank you.
I have a conditional formatting formula that "paints" the cell of a gantt chart start and end dates. I'm introducing Travel date to the equation but this date is optional, sometimes it's empty, sometime it's not.
How can I build this formula to look at the travel date as well if it exists?
Column H is Travel Date; Column I is Start Date, Column J is End Date.
For comparing 2 dates my formula was:
=and(AC$2>=$I3,AC$2<=$J3)
I tried this for 3 dates but it doesn't work:
=AND(AC$2>=$H3, OR(AC$2>=$I3),AC$2<=$J3)
Thank you.