This seems to work: =IF(AND(F2>=$A$1,F2<=$B$1),$C$1,IF(AND(F2>=$A$2,F2<=$B$2),$C$2,IF(AND(F2>=$A$3,F2<=$B$3),$C$3,IF(AND(F2>=$A$4,F2<=$B$4),$C$4,IF(AND(F2>=$A$5,F2<=$B$5),$C$5,IF(AND(F2>=$A$6,F2<=$B$6),$C$6,IF(AND(F2>=$A$7,F2<=$B$7),$C$7,IF(AND(F2>=$A$8,F2<=$B$8),$C$8,IF(AND(F2>=$A$9,F2<=$B$9),$C$9,IF(AND(F2>=$A$10,F2<=$B$10),$C$10,IF(AND(F2>=$A$11,F2<=$B$11),$C$11,””)))))))))))
But I think that this may be easier:
=TEXT(VLOOKUP(C1,A:B,1),”YY”)&”/”&TEXT(VLOOKUP(C1,A:B,2),”YY”)
Start Dates in Col A
End Dates in Col B
Cell C1 contains the date you want to get the academic year from.
Cell D1 contains the above formula.
Enter a date in C1 and D1 will find the relevant date range in Col A/B and extract the academic yy/yy.
Thank you all very much for your patience :)