Sun Pharma was by far the biggest gainer in the Sensex pack, surging 8.13 per cent, followed by Dr Reddy's at 4.92 per cent.
Stocks took a breather on Friday after two sessions of robust gains as investors booked profit in recent winners amid uncertainty over global trade relations ahead of a key G7 meeting.
Healthcare counters were the session's biggest gainers following a clutch of USFDA approvals for Indian drugmakers.
Overseas, European stocks followed Asian peers lower after a mixed close on Wall Street overnight.
Global investors are keeping a keen eye on the upcoming G7 meeting against the backdrop of the US slapping tariffs on a wide range of imports from allies like the EU and Canada.
The 30-share Sensex opened lower and stayed in the negative terrain for the major part of the session, hitting a low of 35,260.
It staged a mild recovery towards the end to touch a high of 35,484.94, before finally finishing at 35,443.67, down by 19.41 points, or 0.05 per cent.
The index had gained 559.87 points in the past two sessions after the RBI hiked the policy rate on inflation concerns but maintained its neutral stance and growth outlook.
The 50-share NSE Nifty settled 0.70 points, or 0.01 per cent, lower at 10,767.65. During the session, it moved between 10,709.05 and 10,779.45.
Both the key indices finished with gains for the third week in a row.
The BSE Sensex recorded a rise of 216.41 points, or 0.61 per cent, while the NSE Nifty advanced 71.45 points, or 0.67 per cent, this week.
Meanwhile, on a net basis, foreign portfolio investors (FPIs) sold shares worth Rs 525.40 crore yesterday, while domestic institutional investors (DIIs) bought equities to the tune of Rs 1,197.89 crore, as per provisional data.
"Market reversed from low despite weak global sentiment as positive cues on pharma stocks and prospects of government measures on PSU banks supported the market to end flat.
"Weakening rupee and favourable USFDA outcomes on domestic pharma helped to regain positive sentiment in the sector. Volatility in oil price and mixed earnings in the fourth quarter may lead the market to stay on the consolidation path," said Vinod Nair, head of research, Geojit Financial Services.
Sun Pharma was by far the biggest gainer in the Sensex pack, surging 8.13 per cent, followed by Dr Reddy's at 4.92 per cent.
Aurobindo Pharma rose 4.42 per cent after the company said it has received final approval from the US health regulator to manufacture Omeprazole tablets, used in the treatment of frequent heartburn.
Lupin also rose by 5.66 per cent, Cadila healthcare 2.48 per cent and Glenmark Pharma 3.82 per cent.
However, Power Grid lost the most among Sensex constituents, declining 2.12 per cent, followed by HDFC Ltd 1.42 per cent, ITC 0.98 per cent, Asian Paints 0.97 per cent, M&M 0.91 per cent, L&T 0.78 per cent and Bharti Airtel 0.75 per cent, among others.
Banking stocks ended lower. Axis Bank lost 1.05 per cent, ICICI Bank 0.91 per cent, IndusInd Bank 0.77 per cent, HDFC Bank 0.71 per cent and Yes Bank 0.59 per cent.
Oil marketing companies drifted lower after global crude prices crossed $77 per barrel as Venezuela struggled to meet its supply obligations amid the ongoing voluntary output cuts led by producer cartel OPEC.
Bharat Petroleum Corp Ltd fell 1.62 per cent, OIL 1.35 per cent and Hindustan Petroleum Corp Ltd 1.17 per cent.
Sectorally, the BSE Power index fell 0.74 per cent, followed by metal 0.43 per cent, FMCG 0.36 per cent, bankex 0.24 per cent, capital goods 0.24 per cent and auto 0.12 per cent.
Bucking the trend, healthcare spurted 3.62 per cent, IT 0.77 per cent, teck 0.73 per cent, oil and gas 0.60 per cent, PSU 0.38 per cent, consumer durables 0.38 per cent and realty 0.38 per cent.
Broader markets too showed a firm trend, with the BSE small-cap index rising 0.58 per cent and mid-caps gaining 0.42 per cent.
In Asia, Singapore fell 0.99 per cent and Hong Kong's Hang Seng lost 1.76 per cent. Japan's Nikkei dipped 0.56 per cent and China's Shanghai Composite Index fell 1.36 per cent.
Taiwan too drifted lower by 0.85 per cent.
In Europe, Frankfurt's DAX fell 1.46 per cent, while Paris CAC shed 0.59 per cent in early deals. London too fell 0.70 per cent.
Photograph: Danish Siddiqui/Reuters
Why Indian IT is staring at an uncertain future
Decoding the Q4-FY18 GDP numbers
The twin Phoenixes that will rule the capital markets in 2018
How the Web lost its innocence