I am trying to replace the sheet name by referencing a cell with a sheet name in it. In my example below,
In my example below, I thought the answer would be:
=SUMIF("A2"!A:A,"1","A2"!B:B) but this seems to not work.
My goal is to be able to drag down and have the formula change based on the new sheet that I will add.
Please help, I have gone through the Q&A and it seems INDIRECT is what I need, but I cannot get it to work.
In my example below, I thought the answer would be:
=SUMIF("A2"!A:A,"1","A2"!B:B) but this seems to not work.
My goal is to be able to drag down and have the formula change based on the new sheet that I will add.
Please help, I have gone through the Q&A and it seems INDIRECT is what I need, but I cannot get it to work.