Skip to playerSkip to main contentSkip to footer
  • 6/2/2025
Learn how to use DGET function in Excel with example.

Excel is a powerful spreadsheet software that offers a wide range of functions to help users manipulate and analyze data. One of the lesser-known but highly useful functions in Excel is DGET. This function allows users to retrieve a single value from a database or table based on specific criteria. By using DGET, users can quickly extract data that meets certain conditions without having to manually search through a large dataset. In this article, we will explore how to use the DGET function in Excel with an example to demonstrate its functionality and potential uses in various scenarios.

Data From Database Table
1) Select cell A2
2) Data ~ Data Tools ~ Data Validation
3) Setting tab
4) Allow set to List
5) Source set to =$A$5:$A$43
6) Ok
7) Select cell B2
8) =DGET($A$4:$E$43,B4,$A$1:$A$2)
Press F4 to change absolute reference
9) Copy and paste formula to the remaining fields.

excel dget multiple records,dget multiple criteria example,dget example,dget vs xlookup,dget google sheets,excel dget criteria array,how to use dget google sheets,excel dget multiple records,dget vs vlookup,dget multiple criteria example,dget example,dget vs xlookup,dget google sheets,Data Validation,Apply data validation to cells,
Transcript
00:00You can create a lookup feature like this using a simple dget function before you roast me with
00:05why not use vlookup and xlookup. Yes, you can use this function too, which I will make another video
00:11about it. For now, this is how you can use dget function. Let's make the UID into a pulldown
00:16menu. Select the UID in A2 here and go data and go data tools and go data validation. On this popup
00:22here, you're going to select list and then on the source, you're going to select all the UID on your
00:26table like this and click OK. Now you have a pulldown menu like this. Next, you're going to use
00:30the dget function here. So equal, dget, open parenthesis and you're going to select the
00:34whole database table here like this and then you're going to press F4 to make it into a fixed
00:38reference, comma, and you're going to select this name here, model for the field, comma, and then the
00:44criteria will be the UID including the header itself and press F4 again to make it to fix. All you have
00:49to do now is to copy ctrl c, ctrl v, ctrl v, and ctrl v and you'll fill up everything and you change
00:55on your lookup menu here. All this will change accordingly.

Recommended