The Nifty 50 closed at 23,217.60, up 99 points, while the BSE Sensex ended at 74,336.45, gaining 332.63 points