Create another field i.e. Result. This will be hidden from the view.
Its default value is A ! = "" or B != "" or C !="" (a is blank, b is blank, c is blank). Make sure the option Refresh value when formula is recalculated is ticked.
On the Result field you can have 2 rules.
a. Set field D to true
Condition Result = true, set field D to true. Tick the box Dont run condition if met.
b. reset field D
Action set field d to blank.