Can someone help me combine an indirect with an index/match. Here is my index/match formula:
=INDEX('2017'!H5:S16,MATCH(B9,'2017'!B5:B18,0),MATCH(C4,'2017'!H4:S4,0))
This works perfectly. Obviously it is referencing data in a 2017 tab. But if the date in c4 is a 2018 date, I need it to lookup the 2018 tab instead of the 2017 tab. Hope that makes sense.
=INDEX('2017'!H5:S16,MATCH(B9,'2017'!B5:B18,0),MATCH(C4,'2017'!H4:S4,0))
This works perfectly. Obviously it is referencing data in a 2017 tab. But if the date in c4 is a 2018 date, I need it to lookup the 2018 tab instead of the 2017 tab. Hope that makes sense.