logo
excelfunctions.org
bookmarks

DGET

Extracts from a database a single record that matches the specified criteria.

DatabaseDatabase & Lists

What it does

Extracts a single value from a database column based on specified criteria.

Syntax

DGET(database, field, criteria)

Arguments

  • database(range) β€” The range of cells that makes up the list or database.
  • field(text) β€” The label of the column to retrieve.
  • criteria(range) β€” The range containing the conditions.

Examples

Get Employee ID

Find ID where Name is 'Alice'.

FORMULA
=DGET(A1:C5, "ID", E1:E2)
RESULT
101
SAMPLE DATA
ABCDE
1NameIDDeptName
2Alice101HRAlice
3Bob102IT
4Alice103Sales