I need please to edit the below formula to reflect minimum of cell N6 and cell P6 but not less than the value in cell D6

=MIN (N6,P6)