How to write formulas that reference data types

You can use formulas that reference linked data types.This allows you to retrieve and expose more information about a specific linked data type. In the following example, the linked data type, Stocks, is used in cells A2 through A11. Then in columns B and C, there are formulas that extract more information from the Stocks data type in column A.

Linked records with Company name, Price and Change.

In this example, cell B2 contains the formula =A2.Price and cell C2 contains the formula =A2.Change. When the records are in a table, you can use the column names in the formula. In this case, cell B2 would contain the formula =[@Company].Price and C2 would contain =[@Company].Change.

Note: The Stocks and Geography data types are only available to Worldwide Multi-Tenant clients (standard Microsoft 365 accounts).


  • As soon as you type a reference to another cell, for example: =A2, Excel will present you with a formula AutoComplete list of fields that you can reference for that data type. Select the field you want from the list, or type it if you know it. You can also get the list of fields by typing the "dot" operator, for example: =A2.

    Linked datat type for Stocks

  • Data type field references are not case sensitive, so you can enter =A2.Price, or =A2.price.

  • If you select a field that has spaces in the name, Excel will automatically add brackets ([ ]) around the field name. For example: =A2.[52 Week High]

  • The FIELDVALUE function can also be used, but we recommend it only for creating conditional calculations based on linked data types.

Need more help?

You can always ask an expert in the Excel Tech Community, get support in the Answers community, or suggest a new feature or improvement on Excel User Voice.

See Also

Linked data types


Create a data type (Power Query)

Need more help?

Expand your Office skills
Explore training
Got It
Get instant Excel help
Connect to an expert now
Subject to Got It terms and conditions

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.