Markets traded weak in a small range for the day. Nifty closed around 41.40 points or 0.23 per cent lower to close around the 17,618 level. S&P BSE Sensex also closed lower around 159.21 points. Nifty Midcap 100 and Nifty Smallcap 100 closed flat around 0.09 per cent and 0.10 per cent after profit booking from higher levels respectively.