Feroze Azeez expects the Nifty to remain in a 23,000-24,200 range, while favouring Energy and Pharma and remaining cautious on IT, Auto and Realty.