SEATTLE — Eric Horvitz joined Microsoft Research 20 years ago with a medical degree, a Ph.D. in computer science and no plans to stay. “I thought I’d be here six months,” he said.

He remained at M.S.R., as Microsoft’s advanced research arm is known, for the fast computers and the chance to work with a growing team of big brains interested in cutting-edge research. His goal was to build predictive software that could get continually smarter.

In a few months, Mr. Horvitz, 54, may get his long-awaited payoff: the advanced computing technologies he has spent decades working on are being incorporated into numerous Microsoft products.

Next year’s version of the Excel spreadsheet program, part of the Office suite of software, will be able to comb very large amounts of data. For example, it could scan 12 million Twitter posts and create charts to show which Oscar nominee was getting the most buzz.