Try this, Kylii -

=IF(OR(Data!A1="Overdue",Data!B1="Overdue"),"OVERDUE","OK")

Gary
(less two thru five for direct)