Mumbai: The BSE Sensex ended in green amid higher auto and cement sales in March, strong microeconomic data and expectations of normal monsoon which were later counterbalanced by a surge in crude oil prices to a two-and-a-half-year high. 

Small and mid-cap stocks were the flavour of the week. The market reported gains for the third straight week on sustained buying by foreign funds.

The 30-share Sensex moved up further by 31.06 points, or 0.16 per cent, to end the week at 19,451.45. 

The NSE 50-share Nifty also moved up by 15.95 points, or 0.27 per cent, to end at 5,842.00.

The BSE Mid-Cap index advanced by 2.73 per cent and the BSE Small-Cap index surged by 4.96 per cent.

Profit-booking emerged after the market scaled a three-month high as crude oil prices hovered near two-and-a-half-year highs, which sparked inflation and interest rate worries, affecting corporate earnings.

The International Monetary Fund warned that the global economy was entering a period of scarcer oil that could drive prices up rapidly.

Index heavyweight Reliance Industries (RIL) fell by 1.07 per cent to Rs 1,024.25.

However, India's largest power equipment maker by sales, BHEL, surged by 4.11 per cent to Rs 2,200.75 and was the top weekly gainer from the Sensex pack.

Meanwhile, food inflation fell to 9.18 per cent for the week ended March 26, the lowest level in almost four months, on the back of a decline in the prices of pulses. 

Among the other indices, the BSE-Capital Goods index shot up by 2.97 per cent, the BSE-Realty index by 2.77 per cent, the BSE-Consumer Durable index by 2.33 per cent, the BSE-Power index by 1.34 per cent and the BSE-Healthcare index by 1.07 per cent.

The dollex-200 and dollex 100 indices also ended higher by 1.81 per cent and 1.58 per cent, respectively.

However, the BSE-Oil&Gas index fell by 91.73 points, or 0.90 per cent.

India's largest bike maker by sales, Hero Honda Motors, gained 3.80 per cent on the back of rise in sales.

The country's top tractor and utility vehicles maker by sales, Mahindra & Mahindra, also rose by 2.49 per cent.

Other gainers were State Bank Of India (2.19 per cent), Bharti Airtel (1.88 per cent), L&T (1.50 per cent) and TCS (1.29 per cent).