Even though the S&P index is in record territory, investors can still find attractive opportunities.