The Excel Dget function retrieves a single value from a database column. A collection of one or more user-specified criteria is used to choose the record.
Syntax :
=DGET(database, field, criteria)
Parameters :
Database :
Field :
Criterion :
Example :
The Dget function is used in the following example to return the sales number for Sales Rep. “Tina” in quarter 4. Cells F1 – G2 specify the conditions, while cell F3 displays the Dget formula: The Dget function in the above code locates the record in row 17 and returns the value from the “Sales” column. As a result, the method returns $188,000. It’s worth noting that, in the above example, instead of entering “Sales,” we might have just used the number 4.
Ask Your Query