The Sensex ended 3 points up at 77,540.83, while the Nifty 50 settled 20 points, or 0.08%, higher at 24,252. The Nifty Midcap 150 index climbed 0.08%, while the Nifty Smallcap 250 rose by 0.41%.