Abstract: The price-earnings effect has been a challenge to the idea of efficient markets for many years. The P/E used has always been the ratio of the current price to the previous year's earnings. However, the P/E is partly determined by outside influences, such as the year in which it was measured, the size of the company, and the sector in which the company operates. Looking at all UK companies since 1975, we determine the power of these influences, and find that the sector influences the P/E in the opposite direction to the others. We use a regression to weight the influences according to their power in predicting returns, reversing the sector influence so that it works for us and not against us. The resulting weighted P/E widens the gap in annual returns between the value and glamour deciles by 8%, and identifies a value decile with average returns of 32%.