The Nifty 50 settled at 24,317.15, up 67 points or 0.28 per cent, while the Sensex gained 274 points.