Stocks were largely going nowhere by mid-afternoon Monday as crude oil cancelled out any positive momentum.

The S&P 500 was flat, the Dow Jones Industrial Average added 0.17% and Nasdaq climbed 0.19%. 

Crude oil prices were sharply lower after Iranian Oil Minister Bijan Zanganeh said the country wouldn't participate in negotiations with the Organization of Petroleum Exporting Countries next week. Hopes had been high that OPEC members and non-member Russia could agree upon a production freeze in the face of tumbling oil prices, but are unlikely to do so unless all countries are on board. West Texas Intermediate crude oil dropped 3.4% to $37.18 a barrel, their lowest settlement since March 8.

Iran said "that those countries desiring a freeze in output 'should leave [Iran] alone' and allow the nation to regain lost sales and market share in line with its pre-sanctions output levels," Austin Sapp, commodity analyst at Schneider Electric, wrote in a note. "Iran's efforts to ramp up production have reinvigorated the narrative of global oversupply and have therefore struck a blow to the crude complex today."

The energy sector was the worst performer on markets Monday. Major oilers Exxon Mobil (XOM) , PetroChina (PTR) , Royal Dutch Shell (RDS.A) and Chevron (CVX) were all lower, while the Energy Select Sector SPDR ETF (XLE) slid 0.6%.

Worries over the Federal Reserve also kept investors on the sidelines. The Fed will convene on Tuesday with an announcement and press conference set for Wednesday afternoon. The majority of economists don't expect the Fed to increase rates at this meeting after making initial liftoff in December. Consensus is for a June hike.

Morgan Stanley analysts disagreed, however, saying they believe that the Fed won't make a move until December. The bank expects Treasury 10-year yields to fall to 1.45% by the end of September, nearing a record low reached in 2012.

It's a busy week of monetary policy elsewhere. The Bank of Japan will meet on Tuesday and the Bank of England will meet on Thursday. The European Central Bank opted to cut rates further and expand its bond-buying program last week.

Tesla  (TSLA) boosted the Nasdaq, rising more than 4% after Robert Baird analysts upgraded the stock to overweight. "Although we were concerned about the rate of Model X deliveries, recent data points show production is accelerating, which should drive deliveries and margin expansion," analysts wrote in a note.

The tech and consumer sectors were the only ones in the green on Monday. Alphabet (GOOGL) , Adobe (ADBE) , Netflix (NFLX) , McDonald's (MCD) , Nike (NKE) and Starbucks (SBUX) were among the best performers in the sectors.

Alphabet and Starbucks are holdings in Jim Cramer's Action Alerts PLUS portfolio.

Exclusive Look Inside:
You see Jim Cramer on TV. Now, see where he invests his money and why Alphabet is a core holding of his multi-million dollar portfolio.

Want to be alerted before Jim Cramer buys or sells GOOGL? Learn more now.

Starwood Hotels & Resorts (HOT) surged 8% after receiving an unsolicited buyout offer from a consortium of companies. The bid of $76 a share marks a 7.9% premium to Friday's closing price. The hotel chain's board is currently in support of a merger with Marriott (MAR) .

Blackstone Group (BX) shares were on watch after the company reportedly agreed to sell Strategic Hotels & Resorts Inc. to a Chinese firm for $6.5 billion. Blackstone only completed its acquisition of Strategic Hotels in December.

Fresh Market (TFM) rocketed 22% higher after Apollo Global Management (APO) agreed to purchase the grocery retailer for $1.36 billion. The offer of $28.50 a share represents a 24% premium to Friday's close. The company was previously of takeover interest to Kroger (KR) .

Johnson & Johnson (JNJ) inched higher after being upgraded to 'neutral' from 'sell' at Goldman Sachs. Analysts also raised their price target to $112 from $102. The firm said the conglomerate was likely to consider restructuring or breaking up in order to unlock potential.

Walt Disney's (DIS) Zootopia topped the weekend box office for a second week in a row, generating $50 million in North America. The animated film has racked up $142.6 million at the domestic box office in the past 10 days.

If you liked this article you might like

Jim Cramer: These 4 Stocks Seem Attractive Right Here

Jim Cramer: These 4 Stocks Seem Attractive Right Here

Occidental, RSP Permian Pumping More Shale Oil Than Expected, Goldman Says

Occidental, RSP Permian Pumping More Shale Oil Than Expected, Goldman Says

How I'm Playing Infrastructure, Oil and Defense Stocks Right Now

How I'm Playing Infrastructure, Oil and Defense Stocks Right Now

Volatility Is Still in Charge: Cramer's 'Mad Money' Recap (Friday, 2/9/18)

Volatility Is Still in Charge: Cramer's 'Mad Money' Recap (Friday, 2/9/18)

Trouble For Exxon Mobil

Trouble For Exxon Mobil