

When you’re comparing stocks or SaaS multiples, the price/earnings ratio is the one number you keep reaching for. It condenses market sentiment, growth expectations, and profitability into a single, comparable metric. With a P/E ratio calculator wired into your workflow, you can quickly spot overvalued darlings, hidden bargains, or portfolio drift—without wading through full financial statements each time. For founders, marketers, and agency owners who also invest or report to investors, a clean, always-current P/E grid is like a dashboard for your conviction.This is exactly where delegation shines. An AI computer agent can open your favorite data sites, copy the latest prices and EPS figures, and update your Google Sheets model on a schedule—no more hunting tickers at midnight. You get fresh P/E ratios on demand, while the agent handles the tabs, copy‑paste, and formula checks in the background.
### 1. Manual ways to calculate P/E ratiosLet’s start with how most people learn it: by hand. The core formula is simple:**P/E ratio = Share price ÷ Earnings per share (EPS)**Here are a few traditional methods, with clear steps:**Method 1: Plain calculator and notepad**1. Pick a stock and note its current price from any finance site.2. Look up its EPS (usually listed on the same page as key stats).3. Divide price by EPS on a calculator.4. Write the result and the date in a notebook or simple text file.Pros: Teaches intuition. Zero setup.Cons: Painful to scale beyond a few tickers. No history, no charts.**Method 2: Manual Google Sheets table**1. Open a new sheet in Google Sheets.2. In row 1, add headers: `Ticker | Price | EPS | P/E`.3. For each stock, type price in column B and EPS in column C.4. In D2, type `=B2/C2` and drag down to compute P/E for all rows.5. Update prices and EPS manually whenever you want fresh numbers.Official docs on creating and editing sheets:- https://support.google.com/docs/answer/6000292Pros: Easy to understand; flexible formatting and charts.Cons: You still have to fetch prices and EPS by hand.**Method 3: Copying from a web P/E calculator**1. Search for an online P/E calculator.2. For each stock, copy in the current price and EPS.3. Hit calculate, then copy the result into your own notes or sheet.Pros: Fast for one-off checks.Cons: Still manual copy/paste; hard to maintain a portfolio view.**Method 4: Basic desktop spreadsheet (Excel)**1. Mirror the Google Sheets structure in Excel.2. Use the same `Price`, `EPS`, `P/E` column pattern.3. Refresh numbers by typing in new data from finance sites.Pros: Works offline; good if your company standardizes on Excel.Cons: Collaboration is harder; no native web automations.These methods are fine when you’re curious about one or two tickers. The moment you’re tracking a portfolio, a content creator index, or public comps for a fundraising deck, the friction becomes obvious.---### 2. No‑code automation methodsYou don’t have to jump straight to full AI agents. A lot can be done with lightweight automations.**Method 5: GOOGLEFINANCE in Google Sheets**1. In column A, list your tickers (e.g., `AAPL`, `GOOGL`, `MSFT`).2. In column B, fetch live prices with: `=GOOGLEFINANCE(A2, "price")`3. In column C, fetch EPS (if available) with: `=GOOGLEFINANCE(A2, "eps")`4. In column D, calculate: `=IFERROR(B2/C2, "N/A")`5. Drag formulas down. Your P/E column now updates whenever Google refreshes data.Official GOOGLEFINANCE documentation:- https://support.google.com/docs/answer/3093281Pros: No code, fully inside Sheets, auto‑refreshing data.Cons: Ticker coverage and EPS fields can be patchy for some markets.**Method 6: Importing data from web tables**If a site posts updated P/E ratios in an HTML table, you can pull it directly.1. Find the URL of a page with a table of stocks and their P/E.2. In a cell, use: `=IMPORTHTML("https://example.com/page", "table", 1)` (Replace with your real URL and table index.)3. Use formulas (e.g., `INDEX`, `VLOOKUP`) to map imported data into your own model.Docs for IMPORTHTML and related functions:- https://support.google.com/docs/answer/3093335- https://support.google.com/docs/answer/3093318Pros: Great when someone else maintains the data; you just subscribe to it.Cons: Breaks if the site layout changes; limited control.**Method 7: Zapier/Make integrations into Sheets**Use a no‑code platform (Zapier, Make, etc.) plus an API‑friendly data provider.1. Set up a sheet with columns: `Ticker`, `Price`, `EPS`, `P/E`, `Last Updated`.2. In Zapier, create a Zap that triggers on a schedule (e.g., hourly).3. Add an action that calls your data provider’s API to fetch price and EPS for each ticker.4. Add a Google Sheets action to update the relevant row with fresh numbers.5. In the sheet, keep `P/E` as a formula (`=B2/C2`) so it recalculates automatically.Docs for Google Sheets integration:- https://support.google.com/docs/answer/139706Pros: Reliable scheduled updates; no manual browsing.Cons: You must manage API keys and rate limits; setup is more involved.---### 3. Scaling with Simular AI agentsNo‑code automations are powerful, but they assume APIs are perfect and pages never change. In reality, marketers, agencies, and founders work across messy websites, custom dashboards, and exports. That’s where a **Simular AI agent** becomes your digital analyst.Simular Pro is designed to automate nearly anything a human can do on a desktop: open the browser, log in, click through dashboards, copy data, and update Google Sheets. Learn more:- https://www.simular.ai/simular-pro- https://www.simular.ai/about**Method 8: Agent as your P/E data collector**Imagine you maintain a Google Sheet of 40 public comps to benchmark your SaaS brand or portfolio companies.Workflow:1. You keep a master Google Sheet with tickers and formula columns for P/E.2. In Simular Pro, you create an agent with instructions like: - Open browser and navigate to a chosen finance site. - For each ticker in column A of the sheet, search the symbol. - Read current price and EPS from the page. - Switch back to the sheet and paste values into columns B and C.3. Schedule the agent to run every morning or trigger it via webhook from your pipeline.Pros:- Works across any site, even without an API.- Every action is transparent, inspectable, and modifiable.- Handles long, multi‑step workflows reliably.Cons:- Requires an initial “teaching” pass to show the agent what “good” looks like.**Method 9: Agent for multi‑source P/E sanity checks**Maybe your investors want conservative numbers. You can have the agent cross‑verify P/E from two different sites.Workflow:1. Agent opens Site A, records price and EPS for each ticker.2. Agent then opens Site B, records the same values.3. Agent writes both values into separate columns in Google Sheets.4. Formulas flag any large discrepancy (e.g., >5% difference) for manual review.Pros:- Reduces the risk of relying on a single, possibly stale data source.- Gives you an audit trail directly in Sheets.Cons:- Slightly longer run times; you trade milliseconds for robustness.**Method 10: Agent‑driven P/E alerts for your team**Take it one step further—let the agent not only update the sheet but also notify sales or leadership when valuations move.Workflow:1. Agent updates P/E ratios in your Google Sheet as above.2. The sheet has conditional formatting to highlight P/E above or below certain thresholds.3. At the end of the run, the agent: - Exports the sheet or a filtered view. - Drafts an email or Slack message summarizing key changes. - Sends it to your team.Pros:- Your team gets story‑ready numbers each morning with zero clicks.- Perfect for agencies reporting to multiple clients on market comps.Cons:- You’ll want to iterate on the agent’s prompts to tune the summary you like.A Simular AI agent essentially becomes the operations person you wish you had: patient, precise, and happy to click through 100 pages to keep your P/E ratios honest and up to date—so you can focus on narratives, pitch decks, and strategy instead of data chores.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Block quote
Ordered list
Unordered list
Bold text
Emphasis
Superscript
Subscript
Start with a simple structure. In Google Sheets, create headers in row 1: `Ticker`, `Price`, `EPS`, `P/E`. In column A, list your stock symbols. In column B, type the latest share prices you find on a finance site. In column C, type the corresponding EPS values. Then, in cell D2, enter the formula `=IFERROR(B2/C2, "N/A")` and drag it down for all rows. This calculates P/E as price divided by EPS and shows “N/A” if data is missing.To keep things organized, freeze the header row (View → Freeze → 1 row) and use data validation to ensure tickers are entered consistently (Data → Data validation). As you refresh prices and EPS, the P/E column updates automatically. Over time, you can add dates on a separate sheet or tabs for different portfolios, but this basic setup is enough to get you started.
To automate P/E in Google Sheets, use the built‑in GOOGLEFINANCE function. In column A, list your tickers (e.g., AAPL, MSFT). In B2, enter `=GOOGLEFINANCE(A2, "price")` to fetch the live price. In C2, try `=GOOGLEFINANCE(A2, "eps")` to pull earnings per share if Google provides it for that ticker. Then in D2, calculate P/E with `=IFERROR(B2/C2, "N/A")` and drag these formulas down.Your sheet will now refresh prices and EPS automatically. To understand syntax and available attributes, check Google’s official docs at https://support.google.com/docs/answer/3093281. Be aware that not all markets or instruments expose EPS via GOOGLEFINANCE; in those cases you may need to type EPS manually or pull it from another source. Still, for covered tickers, this approach gives you a live P/E dashboard with almost no maintenance.
Create a dedicated “Portfolio” sheet. In column A, list all your tickers. In column B and C, either use GOOGLEFINANCE or paste in price and EPS from a trusted source. In column D, compute P/E with `=IFERROR(B2/C2, "N/A")`. Next, add columns for `Sector`, `Market Cap`, or `Region` so you can slice comparisons.Use conditional formatting (Format → Conditional formatting) to color very high P/E values (e.g., above 40) in red and very low ones in green. Then insert a filter view (Data → Filter views → Create new filter view) so you can quickly sort by P/E within sectors. You can also create a bar chart: select tickers and P/E column, then Insert → Chart and choose a column chart. This gives you an at‑a‑glance perspective on which holdings are rich or cheap relative to each other, instead of scanning rows manually.
You can cut manual work in two stages. First, exploit Google Sheets automation: use GOOGLEFINANCE where possible, IMPORTHTML to pull tables from stable finance sites, and array formulas so you don’t retype logic for every row. Build your sheet so that you only need to change tickers or dates—everything else recalculates.Second, layer on automation tools or an AI agent. For example, with a Simular AI agent you can delegate the repetitive steps: opening your finance dashboard, copying updated EPS values, and pasting them to the right rows. The agent can run on a schedule, update the sheet, and even highlight anomalies for review. This hybrid approach—formulas plus an AI computer agent to handle the messy cross‑app actions—turns P/E maintenance from an evening chore into an invisible background process.
Treat your AI agent like a junior analyst: powerful, but in need of guardrails. Start with a small set of tickers and run the agent while you watch. In Google Sheets, add extra columns for “Source Price” and “Source EPS” so you can see exactly what the agent captured from each website. Use an IF formula like `=IF(ABS(D2-D3)/D3>0.05, "Check", "OK")` to flag any P/E change greater than 5% versus the prior run.Review these flags after each test run. If you spot systematic issues—such as the agent reading the wrong table cell after a layout change—update its instructions in Simular so it targets the correct selectors or text labels. Because Simular Pro’s execution is transparent and step‑by‑step, you can inspect its clicks and keystrokes, correct them, and rerun the workflow until P/E results consistently match your manual spot checks.