Markets traded volatile in a range and settled almost unchanged on Friday, as consolidation phase continues. The BSE Sensex closed at 51,544.30, up 12.78 points. The 50-share index Nifty ended at 15,163.30, down 10.00 points.