Key Highlights

● The S&P 500 slipped 23.59 points to 7,720.39, snapping a three-day winning streak.

● More than 400 members and eight of 11 sectors closed higher.

● Alphabet fell to $283.82, erasing roughly $500 billion of market value.

● Health care led, while communication services was by far the worst sector.

Most of the stocks in America's flagship index finished higher on Thursday, yet the benchmark still closed in the red, a vivid lesson in how market-value weighting can mask what the typical stock is doing.

The scoreboard does not tell the whole story

The S&P 500 slipped 23.59 points to 7,720.39 on Thursday, October 29, snapping a three-day winning streak. Read only the headline number and it looks like a soft day for stocks. Look under the hood and the picture flips: more than 400 of the index's roughly 500 members closed higher, and eight of its 11 sectors gained ground, according to one sector tally. Another source put the number of advancers at 406.

So how does an index fall when the overwhelming majority of its components rise? The answer lies in how it is built.

Weighting by size

The S&P 500 is weighted by market capitalization, meaning the biggest companies move the needle far more than smaller ones. A modest gain in a mid-sized Utility barely registers. A collapse in one of the market's most valuable companies can overwhelm everything else.

That is exactly what happened. Alphabet (NASDAQ:GOOGL), which carries two share classes in the index, plunged after its third-quarter Revenue and adjusted Earnings both missed forecasts. The stock closed at $283.82, down from $324.89, and erased roughly $500 billion of market value, its worst day since its 2004 IPO. That single move was enough to swamp hundreds of gains.

Where the gains landed

Health care was the strongest sector, powered by Eli Lilly (NYSE:LLY), which closed at an all-time high of $1,373.70 after its quarterly revenue jumped to $24.40 billion and it raised its full-year revenue outlook. Merck (NYSE:MRK) also beat expectations and lifted its profit forecast. Real estate, consumer staples and utilities followed health care higher, helped by a dip in Treasury yields from their recent multi-decade peaks.

Financials joined in as Mastercard (NYSE:MA) climbed after a quarterly beat. Industrial names such as Textron (NYSE:TXT) and Huntington Ingalls (NYSE:HII) soared on strong results, and beaten-down consumer stocks including Home Depot (NYSE:HD) and Nike (NYSE:NKE) rose.

Where the damage was concentrated

Communication services was by far the worst sector, almost entirely because of Alphabet. Information technology and consumer discretionary also fell. Software was hit hardest within tech after ServiceNow (NYSE:NOW) posted its worst day on record and Fortinet (NASDAQ:FTNT) tumbled on a service revenue forecast cut. Amazon (NASDAQ:AMZN), a heavyweight in consumer discretionary, slid ahead of its own report.

The equal-weight version of the S&P 500, which gives every member the same influence, offered a cleaner read on the average stock. Reports on how it finished differed: one report's text described a solid gain, while its price display showed the gauge roughly flat, and another account had the equal-weight ETF closing higher.

What it means

Days like Thursday are a reminder that the S&P 500 is increasingly a bet on a handful of giants. When those giants stumble, the index can fall even while the broad market rallies. One report noted that rotation into health care, financials and real estate helped limit the index's losses.

What to watch

Amazon and Intel (NASDAQ:INTC) both slid in after-hours trading following their reports, and S&P 500 futures fell in extended trading. That sets up another test of whether the broad rally can keep absorbing mega-cap selling. Friday's Employment Cost Index will also shape expectations for a possible Federal Reserve hike in December, and Chevron (NYSE:CVX) and AbbVie (NYSE:ABBV) report results before October's final session closes.