I am trying to increment a cell (row wise) referenced inside an Indirect function. Here is the example
=SUMIF(INDIRECT("'"&E4&"'!$D$3:$D$5000"),OFFSET($D$5,ROW()-5)*1,0),INDIRECT("'"&E4&"'!$E$3:$E$5000"))
Since I am copying (auto fill) this formula in next few cols, I can't keep &E4&
(used inside indirect function) as constant. But I want to copy (auto fill) the same formula in rows below this cell, I want to keep column E constant but update the row number so that in next row it picks E5 and then E6 and so on. E5 and E6 etc have sheet names that I have in my excel.
E4
as a sheet name was confusing. I had thought that it was causing an error with your formula. – Joseph K.