from here.
the formula has to satisfy another condition. a date should be the return only when a shortage occur. this means that if 'Part!C1 = 0 (no date, meaning that inspection did not occur yet), 'Part!B1 = MIN('Job!B:B) IF('Part!A1 = 'Job!A:A) and IF('Job!F:F<0)
I use Peter's formula on 'Part!B:B, with the above condition for inspection and add the correct results on 'Part!E:E.
the tables has other columns, which I eliminate (those columns contain informations that are not useful for the formula)
Bookmarks