I've used the following formula to get the nth xday of the month:

```
=DATE(B2,A2,1+7*n)-WEEKDAY(DATE(B2,A2,8-xday))
```

where year is in B2 and month (as a number from 1 to 12) is in A2, and where `xday`

is a number representing the day of the week (1 = Sun through to 7 = Sat), so for 1st Saturday that becomes:

```
=DATE(B2,A2,1+7*1)-WEEKDAY(DATE(B2,A2,8-7))
```

Now, this works for months with 4 weeks. How can I modify this formula to calculate when a month has 5 weeks?