Awesome thank you!

If i want to create the trend, using say the previous 3 weeks data, can i adjust the formula to select that last 3 weeks data?

Thanks