At close, the Sensex was up 112.77 points or 0.28% at 40544.37, and the Nifty was up 23.80 points or 0.20% at 11896.80. IndusInd Bank, Reliance Industries, HCL Tech, LT, Tech Mahindra, Asian Paints and Hindustan Unilever were top Sensex gainers. While losers included Britannia Industries, ONGC, GAIL, IOC and UPL.About 1344 shares have advanced, 1299 shares declined, and 157 shares are unchanged. Nifty IT gained nearly 1.5 per cent followed by Pharma and auto, while Nifty PSU Bank slipped around 1.5 per cent. The BSE MidCap index ended 0.47 per cent higher at 14,775 levels while the BSE SmallCap index ended at 14,896, up 0.3 per cent. Energy, FMCG, metal and PSU bank indices closed in the red.