Introduction to DGET Function
DGET is a versatile function within Excel that simplifies the process of retrieving data based on multiple conditions. Unlike VLOOKUP, which is designed for single-column lookups, DGET allows for more complex and readable formulas. This guide will provide a comprehensive overview of how to use DGET effectively.
Understanding DGET Syntax
The basic structure of a DGET formula is as follows:
DGET(database, field, [criteria])
- database: The entire range of your data, including the top row with column headers. - field: The specific column you want to return data from, either by name or position. - criteria: A separate range on your worksheet that contains your search conditions, including at least one column header and one row beneath it.
Using DGET for Multi-Criteria Lookups
DGET excels at handling multiple conditions.
Single Condition
For a single condition, place both criteria in the same row under their respective headers.
| Age | Type | Priority |
|, |, |, |
| 40 | A | H |
| 45 | B | L |
DGET formula: =DGET(Ages, 1, [Age > 40 AND Age < 45])
Multiple Conditions
For multiple conditions, place each criterion in a separate row under the same header.

Comments