Database

DGET

Retrieve one field from the single database record meeting the search criteria.

Syntax

=DGET(database, field, criteria)

Worked example

Put Team and Units in A1:B1. Fill the rows below with East and 4, West and 6, East and 3. Type Team and West in D1:D2 to select the single West record.

=DGET(A1:B4,"Units",D1:D2)

Result 6

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor