I am looking for some help with editing a long winded formula. I have attached a worksheet with the formula on so it can be viewed.
The idea is that a date is entered in Column I, and column AA shows the date +28days. When a date is added in Q or V the clock stops until a date is added in S or X. The number of days is added to AA.
The problem I have is if the date in S/X is less than 7 days before the date in AA, 7 days from S/X needs to be displayed in AA.
The formula also references AG, but I can't work it out of the formula.
Any help would be greatly appreciated my sleepless nights!!!!
Edit - There is a 28 day period. Within the first 21 days entering dates in q/s & v/x don't affect AA. If the dates entered in s/x are day 22 onwards, then 7 days needs to be added from the date in s/x.
The dates in q/s & v/x show that papers are being edited so "stopping the clock" until returned.
It currently looks like the below but I think it is more complicated than it needs to be.
=IF(I1=0, " ",IF(IF(OR(S1<Q1,X1<V1),"Yes",IF(((I1+28)+(S1-Q1)+(X1-V1))-X1+AG1<7,X1+7,(IF((I1+28)+(S1-Q1)-S1+AG1<7,S1+7,(I1+28)+(S1-Q1)+(X1-V1)+AG1))))=28,TODAY(),IF(OR(S1<Q1,X1<V1),"Yes",IF(((I1+28)+(S1-Q1)+(X1-V1))-X1+AG1<7,X1+7,(IF((I1+28)+(S1-Q1)-S1+AG1<7,S1+7,(I1+28)+(S1-Q1)+(X1-V1)+AG1))))))
Bookmarks