Traders on the floor of the New York Stock Exchange
Source: NYSE
As the second-quarter earnings season kicks off, Goldman Sachs says investors should focus on companies that have been able to defend profits by raising prices and passing higher costs to customers.