Markets ended the last trading day of the week on a flattish note after having a volatile session of trade as investors lightened their position following poor services PMI number. Nifty ended at 5907.30, down 2.40 points or 0.04 percent and the Sensex added just 13.88 points or 0.07 percent to finish trade at 19915.95. Sectoral indices were mixed in nature with almost equal number of gainers and losers.