Note: The other languages of the website are Google-translated. Back to English

Excel FIELDVALUE Function

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

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.
Ribbon of Excel (with Kutools for Excel installed)

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.
Screen Shot of Excel (with Office Tab installed)
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

Follow Us

Copyright © 2009 - www.extendoffice.com. | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL