I am working on a project tracking spreadsheet and developing a summary sheet where the user can select a project and report on the income, spend, etc data which is stored in tables on various other sheets. The projects run for several weeks, some of which span two years. I want the user to be able to enter the week number for which they want to see the details, but also need to validate that they have chosen a week covered by the project.
If the project is all in the same year, I can use Whole Number validation and just check the entry is between the start and end week. But if the project spans two years the validation needs to check 2 number ranges. For example, if the project starts in week 25, 2016 and ends in week 18, 2017 the validation needs to permit numbers 25 to 52 or 1 to 18.
Note that a project can never span more than 52 weeks.
Any ideas on if this is possible, or will I just need to include the year as part of the validation criteria?
I've attached a small sample workbook.
Bookmarks