I think this will cover any possible scenario for what is in O10:
=IF(ISBLANK(O10),"",IF(O10<TODAY(),IF(TODAY()-O10<>1,CONCATENATE("Due in ",TEXT(TODAY()-O10,"d")," days"),CONCATENATE("Due in ",TEXT(TODAY()-O10,"d")," day")),IF(O10=TODAY(),"Due Today","Overdue")))
For dates until today, he will tell you how many days the goods should arrive. If O10 = today, then today will be indicated. All that has passed today, and it will read by the deadlines. Finally, if it is empty, the cell will also look empty. Let me know what you think!
source share