And what does the magic formula do with this group of good companies? It tries to buy them at bargain prices! The formula chooses only good companies that also have a high earnings yield. A high earnings yield means that the formula will buy only those companies that earn a lot compared to the price we are paying. Hmmm... buying above-average companies at below average prices, it sounds like it should work!