Hi, all;
I'm trying to use an IF statement to compare multiple dates to a deadline date. This is pretty simple. If any one of the dates in question comes before or on the deadline, the condition is Green. If any of them are past the deadline, the condition is Red. The complication comes in when those cells turn up blank, as a blank value defaults to a Green condition.
Using ISBLANK, I've been able to successfully guard against this issue with a single blank cell:
=IF(ISBLANK([Date A]@row), "Red", IF(AND([Date A]@row <= [Deadline]@row, [Date B]@row <= [Deadline]@row), "Green", "Red"))
This gives a Red result if I leave cell [Date A] blank, and otherwise compares dates as required.
Try as I might, though, I cannot figure out how to add more ISBLANK conditions to this formula, such as checking against a blank state for both [Date A] or [Date B]. I've tried using OR in a couple of different ways suggested by other community resources, but that always turns up an UNPARSEABLE result or an INCORRECT ARGUMENT SET. I don't know if I'm using the wrong syntax, or the wrong strategy altogether.
Does anyone know how I might pull this off?
Thanks...