Maybe...
=IF(AND(U334>0,L334>0),U334-L334,"NO DATA")
=IF(AND(U334>0,L334>0),IF(V334=0,"ON TIME",IF(V334<0,"EARLY","LATE")),"NO DATA")
--
Jim Cone
Portland, Oregon USA
http://www.contextures.com/excel-sort-addin.html
editorial review of Special Sort excel add-in (30 ways to sort)
"Potsy" <(E-Mail Removed)> wrote in message
news:27e5de6e-d0bc-43f6-903f-(E-Mail Removed)...
> Hi
>
> I have problem with Excel (2010) subtracting dates. The date1 is
> entered into COLUMN L and a second date entered into COLUMN U when
> information sent. The end formula in COLUMN W (below) works fine until
> there is no date posted in COLUMN U (i.e. blank) then always sees as -
> figure and shows "LATE".
>
> Please help - would like status to show NULL in COLUMN W if nothing in
> COLUMN U entered.
>
> Thanks
>
> Potsy
>
> Formula in Column V:
>
> =IF(U334>0,U334-L334,"")
>
> Fomula in Column W:
>
> =IF((V334=0),"ON
> TIME",IF((V334<0),"EARLY",IF((V334>0),"LATE",IF((V334="","",""))))