I was wondering if it's possible to look up values based on sheet names and certain columns inside those sheets? I was trying to wrap my head around that idea, but couldn't actually find a solution, so I opted out by using this formula to match my sheet name with the value I need it to return:
=IFERROR(INDIRECT("'"&$B3&"'!BX35");"")
I need information to look like this:
MAIN SHEET
Sheet2
Sheet3
Sheet4
There could also be 100s of sheets. The rows where the information is, is always kept in the same rows, for this example from 1:4, as for columns, sometimes they differ, is it possible to return the information from the right most side, based on months?
Right most side is needed, since sometimes the information might come from earlier years and there might be month doubles (f.e. 2023 year with months from 1 to 12 and 2024 year with months from 1 to 6, I'd need to return the information for the year 2024 and months from 1 to 6)









Replicated your data and this worked for me using INDIRECT:
Notice INDIRECT is a volatile function and it may really overcharge your workbook if you use it a lot.