How to Get Market Cap in Excel

Get market cap directly in Excel using custom formulas. Retrieve financial data, automate your workflows, and keep your spreadsheets updated with our Excel add-in.

No VBA/Macros Required
Microsoft Certified Add-in
2-Minute Setup
EXCEL FORMULA
=FDN("MarketCap", "MSFT", "", 5)

This formula pulls data into your spreadsheet once our Excel add-in is installed.

Formula Result

See exactly how data fills into your sheet when the formula runs. This example shows the actual up-to-date information returned.

ABCDEFGHIJ
1trading_symbolcentral_index_keyregistrant_namefiscal_yearmarket_capchange_in_market_cappercentage_change_in_market_capshares_outstandingchange_in_shares_outstandingpercentage_change_in_shares_outstanding
2MSFT0000789019MICROSOFT CORP20253100000000000.0300000000000.010.714285714285774331663791279980.00172201451733631
3MSFT0000789019MICROSOFT CORP20242800000000000.01000000000000.055.5555555555556743303838132746590.0440748740138738
4MSFT0000789019MICROSOFT CORP20231800000000000.0-700000000000.0-28.07429763722-28128150-0.377159530907181
5MSFT0000789019MICROSOFT CORP20222500000000000.0800000000000.047.05882352941187457891872-56999376-0.758485706831349
6MSFT0000789019MICROSOFT CORP20211700000000000.0500000000000.041.66666666666677514891248-52761687-0.697200141882564
ABCDEF
1trading_symbolMSFTMSFTMSFTMSFTMSFT
2central_index_key00007890190000789019000078901900007890190000789019
3registrant_nameMICROSOFT CORPMICROSOFT CORPMICROSOFT CORPMICROSOFT CORPMICROSOFT CORP
4fiscal_year20252024202320222021
5market_cap3100000000000.02800000000000.01800000000000.02500000000000.01700000000000.0
6change_in_market_cap300000000000.01000000000000.0-700000000000.0800000000000.0500000000000.0
7percentage_change_in_market_cap10.714285714285755.5555555555556-28.047.058823529411841.6666666666667
8shares_outstanding74331663797433038381742976372274578918727514891248
9change_in_shares_outstanding1279983274659-28128150-56999376-52761687
10percentage_change_in_shares_outstanding0.001722014517336310.0440748740138738-0.377159530907181-0.758485706831349-0.697200141882564
Market capitalization, or market cap, is the total value of a company's outstanding common shares held by investors. Market cap is calculated by multiplying the market price per common share by the total number of common shares outstanding. Our Excel add-in provides historical market cap data for a few thousand companies.

Steps to Get Started

01
Install the Add-in

Open Excel, navigate to the Home tab, select Add-ins, and search for FinancialData.Net.

02
Grab Your Key

Sign in to your account at FinancialData.Net, open the dashboard, and copy your API key.

03
Run Your Formula

Open the task pane in Excel, save your API key, and start typing the =FDN(...) formula.

Formula Reference

Use the formula to retrieve financial data by specifying a dataset, ticker symbol, and additional parameters.

=FDN(dataset, identifier, argument, maxRows)
datasetString
Specifies the dataset to query. Enter the dataset name enclosed in quotation marks, for example "MarketCap".
identifierString
Accepts one or multiple identifiers such as ticker symbols (e.g., "AAPL" or "AAPL,MSFT") or other supported identifier types.
argumentString
Filters the dataset output using an additional parameter, such as a date like "2025-01-15" or a reporting period like "year" or "quarter".
maxRowsInteger
Limits the number of records returned by the formula. For example, setting the value to 5 returns the five most recent rows.

Troubleshooting & FAQ

If Excel doesn't recognize the =FDN() formula, the add-in may not have loaded correctly. Restart Excel or reinstall the add-in from the Office Add-ins Store.

Excel displays this error when it does not recognize the =FDN() formula. This means the add-in is either not installed or has been disabled.

The =FDN() formula outputs multiple rows and columns of data, which Excel blocks if any existing text or formatting occupies the surrounding cells. Simply clear these obstructing cells to allow the formula to expand completely.

Install the Excel Add-in

Access 80+ financial datasets directly in Excel using simple formulas.

Install via AppSource
Compatible with Office 365 and Excel for Web
Data Subscriptions for Excel
Standard SubscriptionCore financial data
$29 / mo
Premium Subscription
Full financial data
$69 / mo
Get Started