Got Excel skills? Let's see.
Support seems to be waning a little for these challenges, so next month (the Christmas Special!) will be the last Excel Challenge for a while. This month's challenge is a genuine problem that I need solving, and the winning solution will find its way into the real world
Here are the usual rules.
Assume that cell A1 contains the month number and A2 contains the year number of any date. The challenge is to create a single formula to return the day number of the first Monday in that month.
A1 A2
6 1955 --> 6
1 2015 --> 5
9 2110 --> 1
Support seems to be waning a little for these challenges, so next month (the Christmas Special!) will be the last Excel Challenge for a while. This month's challenge is a genuine problem that I need solving, and the winning solution will find its way into the real world
Here are the usual rules.
- Create a single Excel formula to solve the stated problem.
- The shortest formula wins (when calculating the length of the formula there's no need to include the leading "=", or the curly braces that Excel uses to represent array formulae).
- The formula's number format can be set to whatever you want.
- Conditional formatting is not allowed.
Assume that cell A1 contains the month number and A2 contains the year number of any date. The challenge is to create a single formula to return the day number of the first Monday in that month.
A1 A2
6 1955 --> 6
1 2015 --> 5
9 2110 --> 1