The Sensex was almost flat while the Nifty was trading with small losses in mid-afternoon trade. At 14:23 IST, the barometer index, the S&P BSE Sensex, was up 8.81 points or 0.02% at 37,471.80. The Nifty 50 index was down 20.70 points or 0.18% at 11,258.20. Weak global cues spoiled trading sentiment.