Skip to main content

Excel FIELDVALUE Function

Author: Sun Last Modified: 2022-03-04

doc workday.intl function 1

If you want to follow along with this tutorial, please download the example spreadsheet.

doc workday.intl function 1

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.

doc workday.intl function 1 doc workday.intl function 1

For more information about data types, please visit Microsoft Support.

Syntax and arguments

Formula syntax

FIELDVALUE(value, field_name)

Arguments

  • Value: Required, the data type with field values.
  • Field_name: Required, the field name that you want to retrieve from the linked data type, which is provided as a text value, and enclosed with double quotation marks "" in the function.

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

doc workday.intl function 1

=FIELDVALUE($B4,"longitude") //to get the longitude value of the city name in B4

doc workday.intl function 1


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 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

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


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, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations