Selective pharma, FMCG and consumer durable and banking stocks were in demand, while capital goods, refinery, auto and power stocks registered losses.
The 30-share index Sensex resumed the day lower in line with weak Asian trends and moved erratically before settling at 21,856.22, up by 29.80 points from its previous close.
Yesterday, it had snapped five days of gains by ending 108 points lower.
Meanwhile, foreign institutional investors (FIIs) bought shares worth net Rs 1,471.23 crore yesterday, as per provisional data from stock exchanges.
More From This Section
Pharmaceuticals major, Sun Pharma, was the top Sensex gainer of the day at 4.08 per cent as its subsidiary Caraco has received approval from US Food and Drug Administration (FDA) for Risperidone oral tablets.
FMCG and cigarettes giant ITC rose 2.08 per cent and emerged as the biggest contributor to the Sensex gain. losses.
"Markets were seen ending on flat note as investors preferred to sit on sidelines ahead of IIP data and CPI inflation figure, which is due post market today," Jayant Manglik, President-retail distribution, Religare Securities Limited, said.