Consumer businesses come to the rescue of large conglomerates in the midst of a meltdown in commodities.
ITC, Sun Pharma, HDFC and Coal India were among the top gainers.
Most of the session's gains for both the indices were wiped out as investors rushed to book profits ahead of F&O expiry on Thursday and also due to concerns over stretched valuations.
Market breadth ended weak on the BSE with 1,838 declines against 1,218 advances.
The NSE 50-share Nifty spurted 97.25 points, or 0.92 per cent, to 10,715.50
Financial shares were among the top gainers with HDFC leading the gains.
Gains in key IT, capital goods, healthcare and metal stocks, after consistent buying by domestic and foreign investors, helped both the key indices to scale new peaks.
In absolute terms, the year closed with the market capitalisation of all BSE-listed companies rising by Rs 45.5 lakh crore to Rs 152 lakh crore, or an increase of 42.8 per cent, compared to the closing value on December 30, 2016, says Pavan Burugula.
Firms generated free cash flows in 2013-14, for the first time since the 2008 Lehman crisis
Pharma shares were the top gainers led by Lupin after the company received EIR from USFDA for its Goa facility
Financial shares were among the top Sensex gainers along with auto and pharma shares.
Market breadth was weak with 1239 losers and 1078 gainers on the BSE.
Dilip Shanghvi has never tried to be everything to everybody.
Tata Steel was the day's worst performer in the Sensex pack, plunging 3.25 per cent, followed by Bharti Airtel at 3.05 per cent.
Investors lost around Rs 1.57 lakh crore in market valuation on Friday.
Ajit Mishra, vice president, Research, Religare Broking, answers your queries.
In 10 sessions Sensex rose over 8%
Profit-booking and selling pressure on below-normal monsoon forecast, marred sentiments, traders said.
n the broader market, BSE Midcap and Smallcap indices are trading higher by 0.3% each.
The BSE gauge Sensex fell 73.88 points to 35,548.26 and the NSE Nifty slid 17.85 points to 10,799.85, taking cues from tumbling global shares.
Among the Sensex 30 stocks, new entrant Sesa Goa soared 22 per cent to Rs 187, while TCS rose 11 per cent to Rs 2,023.