hi,

specific dates of 7,14, 22 and the last day of the month

rules for the above dates
1. if the specific date is a Friday-Saturday-Sunday the previous weekday date will be Thursday
2. if the specific date is a Thursday previous weekday date will be Wednesday
3. if the specific date is a Wednesday previous weekday date will be Tuesday
4. if the specific date is a Tuesday previous weekday date will be Monday
5. if the specific date is a Monday previous weekday date will be Friday

example for April 2018

7 is on Saturday so display on A1 "The previous weekday is 5-Thursday"
then the actual date on B1 "04/05/18"

14 is on Saturday so display on A2 "The previous weekday is 12-Thursday"
then the actual date on B2 "04/12/18"

22 is on Sunday so display on A3 "The previous weekday is 19-Thursday"
then the actual date on B3 "04/19/18"

30(last day of Apr 2018) is on Monday so display on A4 "The previous weekday is 27-Friday"
then the actual date on B4 "04/27/18"