Hello all,
{=IF(ISERROR(INDEX(Apr!$H$11:Apr!$AM$51,SMALL(IF(Apr!$H$11:$H51=AM$41,ROW(Apr!$H$11:$H51)),ROW(6:6))-10,Apr!$I$8)),"",INDEX(Apr!$H$11:$AM$51,SMALL(IF(Apr!$H$11:$H51=AM$41,ROW(Apr!$H$11:$H51)),ROW(6:6))-10,Apr!$I$8))}
This line goes through a long table and builds a new table which works perfectly. My question:
I am trying to replace all the 'Apr' or if you will, use a variable taken in cell. I have tried many combination but cannot see a solution. Would someone know if there is a way to replace a 'sheet' name with a variable?
Thanks a bunch!
Eric
{=IF(ISERROR(INDEX(Apr!$H$11:Apr!$AM$51,SMALL(IF(Apr!$H$11:$H51=AM$41,ROW(Apr!$H$11:$H51)),ROW(6:6))-10,Apr!$I$8)),"",INDEX(Apr!$H$11:$AM$51,SMALL(IF(Apr!$H$11:$H51=AM$41,ROW(Apr!$H$11:$H51)),ROW(6:6))-10,Apr!$I$8))}
This line goes through a long table and builds a new table which works perfectly. My question:
I am trying to replace all the 'Apr' or if you will, use a variable taken in cell. I have tried many combination but cannot see a solution. Would someone know if there is a way to replace a 'sheet' name with a variable?
Thanks a bunch!
Eric