What You Will Learn
You will learn how to pull current market capitalization for public companies using GOOGLEFINANCE, when to use Gemini to identify likely tickers, and when a third-party financial-data provider is more appropriate.
Required Dataset
Use the workbook from Lessons 49 and 53.
Use:
Company_Enrichment
Current_Market_Data
Create three new tabs:
Market_Cap_Practice
Market_Cap_Check
Provider_Decision
Before You Start
GOOGLEFINANCE can fetch current and historical securities information. Google recommends using both exchange and ticker symbols, such as NASDAQ:GOOG, for accuracy; quote data may also be delayed or unavailable for some attributes.
Step-by-Step Instructions
Step 1. Create the company list
In Market_Cap_Practice, create fields for:
Company Name
Ticker
Ownership Type
Current Price
Shares Outstanding
Market Cap
Currency
Data Delay
Ticker Validation Status
Review Needed
Notes
Use public companies such as:
Microsoft | NASDAQ:MSFT
Apple | NASDAQ:AAPL
Walmart | NYSE:WMT
JPMorgan Chase | NYSE:JPM
Step 2. Pull market cap with GOOGLEFINANCE
For current price, use:
=IFERROR(GOOGLEFINANCE(B2,”price”),””)
For shares outstanding, use:
=IFERROR(GOOGLEFINANCE(B2,”shares”),””)
For market capitalization, use:
=IFERROR(GOOGLEFINANCE(B2,”marketcap”),””)
For currency and data delay, use:
=IFERROR(GOOGLEFINANCE(B2,”currency”),””)
=IFERROR(GOOGLEFINANCE(B2,”datadelay”),””)
Step 3. Use Gemini when the ticker is missing
Ask Gemini:
Act as a company research analyst. For each company in Market_Cap_Practice, identify whether it is public or private. If public, suggest the likely ticker and exchange. If private, mark market cap as not applicable. Treat all ticker suggestions as candidates requiring manual validation.
Use Gemini for candidate research only. Do not treat Gemini’s ticker suggestion as verified.
Step 4. Decide when a provider is needed
In Provider_Decision, note that GOOGLEFINANCE is useful for quick public-company research. Use a third-party financial-data provider when you need licensed data, broad coverage, audit trails, professional-use rights, historical point-in-time data, or production refreshes.
Expected Result
You should have a market cap table with public-company tickers, market cap formulas, currency, data delay, validation status, and review flags.
Check Your Work
Confirm that tickers are exchange-qualified, private companies are not assigned public market cap, missing values are flagged, and currency is visible.
Optional Extension
Ask Gemini:
Review Market_Cap_Practice. Identify ticker issues, private companies, missing market cap values, currency concerns, and cases where a third-party provider is needed.
