Consumer companies rose, recouping some recent losses amid mixed earnings.

Consumer companies rose after generally strong earnings.

Consumer companies slid after Walmart posted its most meager rate of sales growth in six years, suggesting that elevated gas prices are eating into discretionary spending.