The Sensex on Friday opened 31 points higher at 15,040 and soon slipped into the negative zone at 14,993.
However, the markets rebounded and continued to move sideways. Positive cues from the European markets helped the index rally to the day's high of 15,257, up 264 points from day's low.
The index gave up its early gains on profit booking in FMGC and realty stocks and finally ended at 15,103, up 95 points. The NSE Nifty ended at 4,587, up 14 points.
The FMCG and the Realty indices were down over 2% each at 2,219 and 4,030, respectively.
The Capital Goods and the IT indices were up around 3% each at 12,922 and 3,154, respectively.
The market breadth was positive, out of 2,891 shares traded, 1,522 advanced and 1,314 declined on Friday.
Grasim soared 6% to 2,511. Tata Motors and BHEL advanced 5.3% each to Rs 389 and Rs 2,287, respectively.
Larsen & Toubro gained 4.3% at Rs 1,519.
Infosys and Tata Power added nearly 4% each at Rs 1,690 and Rs 1,081, respectively.
Sun Pharma, ACC, ICICI Bank, HDFC Bank and TCS were up 2-3% each.
Sterlite, Bharti Airtel and ONGC were the other gainers.
... AND THE LOSERS
ITC tumbled 5.4% to Rs 191. Reliance Infrastructures and SBI slipped over 3% each to Rs 1,227 and Rs 1,818, respectively.
DLF, Reliance, Tata Steel and NTPC declined 1-2% each.