Nifty 50 settled at 24,005.85, up 0.59%, while the Sensex advanced 0.58% to close at 76,922