MF_Price: Retrieve the Latest Mutual Fund Prices Directly in Excel

The MF_Price function from MarketXLS lets you quickly obtain the latest price for a given mutual fund, right inside your Excel worksheet. By simply specifying the mutual fund symbol, you can track current share prices and integrate them into your analysis and calculations without leaving Excel. This function is highly beneficial for anyone managing portfolios, analyzing investments, or monitoring real-time prices.

Why Use This Function?

  • Fast Data Retrieval: Instantly fetch the latest mutual fund price in your spreadsheet.
  • Convenient Portfolio Management: Dynamically build watchlists and track performance in real time.
  • Streamlined Analysis: Combine MF_Price with other Excel functions for advanced calculations or strategy backtesting.
  • Simple Yet Flexible: Returns a numeric value that you can reference in formulas, with fallbacks ("NA" or "Refreshing") for invalid symbols, licensing issues, or data updates.

How to Use in Excel

=MF_Price("Symbol")
  1. Click on a cell in Excel where you want the price displayed.
  2. Enter the formula above, replacing "Symbol" with the desired mutual fund ticker symbol.
  3. The cell will update to show the current price if the symbol is valid and your MarketXLS license is active.
  4. If the symbol is unrecognized or there’s an issue with data retrieval or licensing, the function returns "NA." In certain update conditions, it may return "Refreshing."

Parameters Explained

Parameter Description Example Values Notes
Symbol The ticker symbol of the mutual fund to lookup "VFINX", "VTSAX" Must be a valid symbol. If invalid or if data retrieval fails, returns "NA." Can momentarily show "Refreshing."

Example Usage

Basic Examples

  1. =MF_Price("VFINX")
    • Returns the latest available price for VFINX.
    • If the data is unavailable or an invalid symbol is used, "NA" is displayed.

  2. =MF_Price("VTSAX")
    • Retrieves the current price for the VTSAX mutual fund.
    • Ideal for quick checks of your favorite index fund.

  3. =MF_Price("INVALID")
    • Demonstrates what happens if the symbol is unrecognized or typed incorrectly.
    • Displays "NA."

Advanced Scenarios

• Portfolio Tracking:
Use multiple MF_Price calls to create a table of fund prices, and then apply Excel formulas for total portfolio value.

• Comparative Analysis:
=MF_Price("VFINX") - MF_Price("VTSAX")
Compare the price difference between two mutual funds to spot discrepancies or potential arbitrage opportunities.

• Calculation with Other Functions:
=ROUND(MF_Price("VFINX") * 100, 2)
Multiply the mutual fund price by a share count (e.g., 100) and round to two decimals for neat cost estimates.

Common Questions and Troubleshooting

• Why am I getting "NA"?

  • Ensure you have a valid symbol. Double-check any typos.
  • Verify your MarketXLS license is active.
  • If data is temporarily unavailable, "NA" can also appear.

• The function shows "Refreshing" instead of a price.

  • This is a normal status when data updates are happening in the background. Wait a moment and try again.

• Can I use this for non-US mutual funds?

  • While designed primarily for US markets, it may work for other regions if MarketXLS supports the symbol. Invalid or unsupported symbols return "NA."

• Why does the value sometimes switch from text to a number format?

  • MF_Price attempts to parse the returned string into a number. If it fails or if the value is missing, you’ll see "NA."

By combining MF_Price with Excel’s native formulas and referencing multiple mutual fund symbols, you can streamline your investment research and daily tracking. Whether you’re a professional analyst or someone managing personal investments, MF_Price offers a seamless, real-time price retrieval method that saves time and helps keep your portfolio data accurate and ready for analysis.

Get Access to 1 Billion Usable Market data points IN YOUR EXCEL SHEETS WITH EASY TO USE EXCEL FUNCTIONS

Get started today
MarketXLS Excel Add-in Tutorial - How to Use Mf Price and Other Financial Formulas
How does MarketXLS work?