Price To Earnings Ratio (Historical)
Returns the historical price-to-earnings (P/E) ratio for a company. This classic valuation metric shows how much investors pay per dollar of earnings.
Formula
P/E Ratio = Share Price / Earnings Per Share
Parameters
| Parameter | Required | Description |
|---|---|---|
| Symbol | Yes | Stock ticker symbol |
| Year | Yes | Fiscal year or period code |
| Quarter | No | Quarter 1-4 |
| TTM | No | "TTM" for trailing twelve months |
Interpretation
- Lower P/E may indicate undervaluation or slow growth
- Higher P/E may indicate growth expectations or overvaluation
- Compare within same industry
Syntax
=hf_Price_to_Earnings_Ratio(Symbol, Year, [Quarter], [TTM])Parameters
Stock ticker symbol
Fiscal year or period code
Calendar quarter (1-4)
Set to 'TTM' for trailing twelve months
Returns
P/E ratio
Examples
=hf_Price_to_Earnings_Ratio("AAPL", 2023, 4)=hf_Price_to_Earnings_Ratio("MSFT", "ly")=hf_Price_to_Earnings_Ratio("GOOGL", 2023, , "TTM")When to Use
- Historical valuation analysis
- Valuation trend tracking
- Mean reversion analysis
- Industry P/E comparisons
When NOT to Use
| Scenario | Use Instead |
|---|---|
| Current P/E | PERatio() |
| Forward P/E | forwardPE() |
| PEG ratio | PEGRatio() |
Common Issues & FAQ
Why is P/E negative or NA?
Negative earnings result in meaningless P/E. NA may indicate no earnings data.
What's a good P/E ratio?
Varies by industry and growth. S&P 500 historical average is around 15-20.
Excel Templates Using Price To Earnings Ratio (PE Ratio - Historical)
These ready-made MarketXLS templates call hf_Price_to_Earnings_Ratio() in their worksheet formulas. Open one to see the function working inside a complete model.
Related Formulas
More MarketXLS Historical Fundamentals formulas you can use in the same worksheet:
- Price To Tangible Book Ratio (Historical)
- Price-Cash Flow Ratio (Historical)
- Price-Free Cash Flow Ratio (Historical)
- Profit Margin (Historical)
- Property Plant & Equipment Net (Historical)
- Purchase Of Long Term Investments (Historical)
- Purchase Of Short Term Investments (Historical)
- Purchased Components (Historical)
See hf_Price_to_Earnings_Ratio used in a complete workbook: Crude Oil Stock Correlation Excel: Track Energy Sector Exposure in Real Time
