Hi, I have below formula in E9, which is working fine. =SUMPRODUCT((george!B9:B28>=Report!H4)*('george'!B9:B28<=Report!K4)*('george'!H9:AE28="N")) i wanted to change sheet name in the formula automatically when i select sheet name...