Excel FIELDVALUE Function
If you want to follow along with this tutorial, please download the example spreadsheet.
Description
The FIELDVALUE function retrieves field data from linked data types like Stocks or Geography data types.
Note: For creating the data type like geography data type, please do as this:
In Excel 365 worksheet, type a city name like New York in a cell, keep the cell selected and click Data tab, then choose Geography from the Data Types group, then a card symbol is inserted at the front of the city.
For more information about data types, please visit Microsoft Support.
Syntax and arguments
Formula syntax
Arguments
|
Return Value
The FIELDVALUE function returns the matched field value from the linked data type.
Errors
#FIELD! error value occurs when the argument field_name is not available in the linked data type
#NAME? error value occurs when the argument field_nane is not valid, supposing is not enclosed with double quotation marks.
Remarks
For displaying the error value as blank, you can add the ISERROR function in the FIELDVALUE function like this:
=ISERROR(FIELDVALUE(value, field_name),"")
Version
Excel 365
Usage and Examples
Example: basic usage
The list B4:B6 contains city names, then in the column C and column D, to list the corresponding latitudes and longitudes of the cities, please use formulas as below:
=FIELDVALUE($B4,"latitude") //to get the latitude value of the city name in B4
=FIELDVALUE($B4,"longitude") //to get the longitude value of the city name in B4
Relative Functions:
-
Excel VLOOKUP Function
The Excel VLOOKUP function searches for a value by matching on the first column of a table and returns the corresponding value from a certain column in the same row.
-
Excel LOOKUP Function
Excel LOOKUP function finds certain value in a one column or one row range, and return the corresponding value from another (one row or one column) range.
-
Excel GETPIVOTDATA Function
The GETPIVOTDATA function queries a pivot table and returns data based on the pivot table structure.
-
Excel ADDRESS Function
The ADDRESS function returns the cell address reference as text, based on the given column number and row number.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.
- Designed for 1500 work scenarios, helps you solve 80% Excel problems.
- Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
- Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
- 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
