See table below. I need to return the max value of Column B (week) if Column A (year) contains a value (such as 2011). This also needs to be accomplished without using an array. Any help would be greatly appreciated.
A B
Year Week
2011 1
2010 1
2012 1
2011 2
2010 2
2012 2
2011 3
2010 3
2012 3
A B
Year Week
2011 1
2010 1
2012 1
2011 2
2010 2
2012 2
2011 3
2010 3
2012 3