I have a formula below:
=IFERROR(AVERAGEIF('02-09'!$E$2:$E$50,B4,'02-09'!$J$2:J50),"") that I would like to change
In cell D3 of the current sheet I have a function that return the sheet name for a dependent sheet. For example:
=sheetname('02-09'!$B$16) would return 02-09.
Instead of referring to sheet 02-09 I would like the formula to be dynamic and reference D3 of the current sheet like
=IFERROR(AVERAGEIF(D3&!$E$2:$E$50,B4, D3&$J$2:J50),"").
What is the proper formula that I can use? Would INDIRECT work?
I attached a copy of the spreadsheet
Bookmarks