When Jeremy Grantham speaks, I listen. He's not afraid to have a contrarian mindset lead him in a different direction from the crowd. Recently, Grantham believed some high-quality companies traded at attractive prices. Grantham wasn't sure why the high-quality names were on sale, but he thought they offered the best returns for the next seven years. He has a pretty good long-term track record of sniffing out where the best returns are, so let's see what companies Grantham is rooting out.

What do "high-quality" and "on sale" mean? Certainly they will represent different things to different people. For our purposes, let's say high-quality companies have a strong balance sheet and generate excellent returns on invested capital. We'll use free cash flow yield (free cash flow / market cap) compared to the 10-year Treasury yield as a proxy for value.

So a Grantham-like opportunity would have:

1. Net cash position > 0
More cash than debt can indicate a strong balance sheet.

2. ROIC > 15%
Earning a 15% return should be more than a company's cost of capital.

3. FCF / P > 4%
10-year Treasuries are yielding about 3%. We want more return than that.

With the definitions out of the way, let's see if FactSet Research (NYSE: FDS) can pass our sniff test.

As you can see from the table below, FactSet Research has a positive net cash position on its balance sheet. What's more, the company currently earns a return on invested capital that is higher than its cost of capital. Fools love companies that take shareholder capital and create value with it.

Company

Net Cash

ROIC

FCF/P

FactSet Research Systems

224.7

40.0%

5.2%

Morningstar (Nasdaq: MORN)

320.4

18.2%

4.9%

MSCI (Nasdaq: MSCI)

142.3

21.2%

2.1%

How does it stack up to the competition? That is an impressive list of companies. All three meet the net cash and ROIC hurdles, but FactSet Research earns a higher ROIC and has a more attractive free cash flow yield.

Foolish conclusion
Would Jeremy Grantham buy FactSet Research? That's really hard to say. After all, he's his own investor. But with quality numbers like the ones above, I have to believe Grantham would certainly give FactSet Research a good, hard look. And you and I should, too.

Million Dollar Portfolio associate advisor David Meier does not own shares of any of the companies mentioned. Morningstar is a Motley Fool Stock Advisor recommendation. The Motley Fool owns shares of Morningstar. The Motley Fool has a healthy disclosure policy.