Hi CJ, thank you for your quick response. Your codes work beautifully. I made minor changes to TherapyDays to make them positive values and change the INR>=2 to the target goal which is 2 to 3.
SELECT DateDiff('d',SDate,(SELECT Min(SDate) FROM QryWarfarinDueRpt as Tmp WHERE...