Trying to figure out if I have a formula for a timeline - ie a date minus days like 8/17/10 - 14, which returns 8/3 -- I want to use an IF function or something of the sort if it returns a Saturday or a Sunday, to add one or two days to it so that it comes out on a Monday.
Here is what I attempted using Weekday and IF Function. But returning a NUM ERROR.
** Cell C15 contains my original Date
** I tried to say here that if it returns a 1 or 7 (Saturday and Sunday) then add days respectively.
=IF(WEEKDAY(C15-14,7),(C15-14)+2, IF(WEEKDAY(C15-14,1),(C15-14)+1,C15-14))
Bookmarks