top of page

Mastering the DGET Function in Microsoft Excel: A Hidden Gem for Database Lookups

Kyle Pew

Updated: Feb 26

Are you tired of using complex formulas like XLOOKUP or VLOOKUP to find specific records in a dataset? If so, it’s time to introduce you to the DGET function—one of Excel’s best-kept secrets for extracting data from structured lists with ease.



What is the DGET Function?

The DGET function in Excel is part of the database functions family, designed to retrieve a single value from a structured dataset based on multiple criteria. Unlike VLOOKUP, which searches only in the first column, DGET allows you to filter data dynamically using multiple conditions.


Why Use DGET Instead of XLOOKUP or VLOOKUP?

Supports multiple conditions for precise data retrieval

Searches any column (not restricted like VLOOKUP)

More intuitive for structured datasets (sales records, employee databases, etc.)

Easier criteria management using a separate criteria table


However, DGET requires the data to contain unique records, as it returns an error if multiple matches exist.


Real-World Example: Find Sales Data with DGET

Let’s say you have a dataset of employee sales records, and you need to find the exact sales amount for a specific employee and product.


Dataset Example

Employee

Region

Product

Sales Amount

Sales Date

John Doe

East

Laptop

1200

01/15/2025

Jane Smith

West

Monitor

350

01/18/2025

Mike Brown

East

Laptop

1500

01/20/2025

Criteria Table (Separate Area in Excel)

Employee

Product

Mike Brown

Laptop

DGET Formula

=DGET(A1:E4, "Sales Amount", G1:H2)

Result: 1500


Watch the Full Tutorial on YouTube!

Want a step-by-step demonstration? Watch my latest YouTube video where I walk through real-world scenarios using the DGET function in Excel.


You’ll learn:

✅ How to set up your dataset correctly

✅ How to apply multiple conditions in a criteria table

✅ When to use DGET vs. other lookup functions


📺 Click here to watch the video now!


Final Thoughts

The DGET function may not be as widely used as XLOOKUP, but it’s a powerful tool when working with structured datasets that require specific, multi-condition lookups. Give it a try and let me know in the comments how you’re using it in your workflow!


DOWNLOAD EXERCISE FILE


 
 
 

Comments


© 2019 by Office Newb, LLC.

bottom of page