DATEADD function-Not returning weekday - Is there a bug or is my syntax incorrect?
DATEADD("w", -4, IF(ISERROR(S596),GPDATE(S198),GPDATE(S596)))
This function with the "w" should only return a weekday. I am having it return a weekend value. Is there a bug in this function?