{"id":147,"date":"2025-07-15T13:34:46","date_gmt":"2025-07-15T13:34:46","guid":{"rendered":"https:\/\/functiontranslator.com\/2021\/02\/12\/dget\/"},"modified":"2021-02-13T11:33:41","modified_gmt":"2021-02-13T11:33:41","slug":"dget","status":"publish","type":"post","link":"https:\/\/functiontranslator.com\/en\/dget\/","title":{"rendered":"DGET"},"content":{"rendered":"<p>Today, we&#8217;re going to delve into the specifics of the DGET function, an essential tool found in both Microsoft Excel and Google Sheets. This function is designed to extract a single value from a tabulated database based on specific criteria. Let\u2019s explore how it functions in these spreadsheet applications.<\/p>\n<h2>Basic Syntax<\/h2>\n<p>The basic syntax for the DGET function is as follows:<\/p>\n<pre><code>=DGET(database, field, criteria)<\/code><\/pre>\n<ul>\n<li><strong>database<\/strong>: The range of cells that represents your database. This consists of rows called records, each containing related data, and columns known as fields.<\/li>\n<li><strong>field<\/strong>: This is the column number from which to retrieve data. Columns are indexed starting from 1, so the first column is number 1, the second number 2, and so on.<\/li>\n<li><strong>criteria<\/strong>: This is a range that defines the criteria. DGET will return a value from the specified field only if the entries in the database match the conditions laid out in this range.<\/li>\n<\/ul>\n<h2>Example Task<\/h2>\n<p>Consider a database containing students&#8217; scores across various subjects. We aim to use the DGET function to find the score of a student named &#8220;Alice&#8221; in &#8220;Mathematics&#8221;.<\/p>\n<h2>Example in Excel<\/h2>\n<p>Suppose our database is located in cells A1 to C6, with student names in column A, subjects in column B, and scores in column C. Our criteria are set in the range F1 to G2, with &#8220;Student Name&#8221; in F1, &#8220;Alice&#8221; in F2, &#8220;Subject&#8221; in G1, and &#8220;Mathematics&#8221; in G2.<\/p>\n<table>\n<tr>\n<th>Student Name<\/th>\n<th>Subject<\/th>\n<th>Score<\/th>\n<\/tr>\n<tr>\n<td>Alice<\/td>\n<td>Mathematics<\/td>\n<td>85<\/td>\n<\/tr>\n<tr>\n<td>Bob<\/td>\n<td>Mathematics<\/td>\n<td>78<\/td>\n<\/tr>\n<tr>\n<td>Alice<\/td>\n<td>English<\/td>\n<td>92<\/td>\n<\/tr>\n<tr>\n<td>Bob<\/td>\n<td>English<\/td>\n<td>88<\/td>\n<\/tr>\n<\/table>\n<p>The DGET formula to fetch Alice\u2019s mathematics score then would be:<\/p>\n<pre><code>=DGET(A1:C6, \"Score\", F1:G2)<\/code><\/pre>\n<p>This formula returns the value 85, representing Alice\u2019s score in Mathematics.<\/p>\n<h2>Example in Google Sheets<\/h2>\n<p>The approach in Google Sheets mirrors that of Excel. Utilizing the same data and criteria setup allows for seamless functionality across both platforms.<\/p>\n<p>The DGET formula in Google Sheets is:<\/p>\n<pre><code>=DGET(A1:C6, \"Score\", F1:G2)<\/code><\/pre>\n<p>As in Excel, this will return 85, the score of Alice in Mathematics.<\/p>\n<p>Utilizing the DGET function, you can efficiently pull specific data from a database based on defined criteria in both Microsoft Excel and Google Sheets.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Extracts from a database a single record that matches the specified criteria<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[210],"tags":[],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-database"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Excel DGET Function \u2013 How It Works, Formula Examples and Syntax<\/title>\n<meta name=\"description\" content=\"Learn what the Excel DGET function does. Clear syntax explanation and useful formula examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/functiontranslator.com\/en\/dget\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Excel DGET Function \u2013 How It Works, Formula Examples and Syntax\" \/>\n<meta property=\"og:description\" content=\"Learn what the Excel DGET function does. Clear syntax explanation and useful formula examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/functiontranslator.com\/en\/dget\/\" \/>\n<meta property=\"og:site_name\" content=\"Function Translator\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-15T13:34:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-13T11:33:41+00:00\" \/>\n<meta name=\"author\" content=\"glavadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Excel DGET Function \u2013 How It Works, Formula Examples and Syntax\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"glavadmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/functiontranslator.com\/en\/dget\/\",\"url\":\"https:\/\/functiontranslator.com\/en\/dget\/\",\"name\":\"Excel DGET Function \u2013 How It Works, Formula Examples and Syntax\",\"isPartOf\":{\"@id\":\"https:\/\/functiontranslator.com\/no\/#website\"},\"datePublished\":\"2025-07-15T13:34:46+00:00\",\"dateModified\":\"2021-02-13T11:33:41+00:00\",\"author\":{\"@id\":\"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/87663eece497ca58643166ecb09f1389\"},\"description\":\"Learn what the Excel DGET function does. Clear syntax explanation and useful formula examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/functiontranslator.com\/en\/dget\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/functiontranslator.com\/en\/dget\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/functiontranslator.com\/en\/dget\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Function Excel\",\"item\":\"https:\/\/functiontranslator.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Database\",\"item\":\"https:\/\/functiontranslator.com\/en\/database\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DGET\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/functiontranslator.com\/no\/#website\",\"url\":\"https:\/\/functiontranslator.com\/no\/\",\"name\":\"Function Translator\",\"description\":\"Excel function translator\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/functiontranslator.com\/no\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/87663eece497ca58643166ecb09f1389\",\"name\":\"glavadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/03ccd9347c5339db75deede5a8c5b2bf1d40e0bce26a5251fcaac6331d381db8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/03ccd9347c5339db75deede5a8c5b2bf1d40e0bce26a5251fcaac6331d381db8?s=96&d=mm&r=g\",\"caption\":\"glavadmin\"},\"sameAs\":[\"https:\/\/functiontranslator.com\"],\"url\":\"https:\/\/functiontranslator.com\/en\/author\/glavadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Excel DGET Function \u2013 How It Works, Formula Examples and Syntax","description":"Learn what the Excel DGET function does. Clear syntax explanation and useful formula examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/functiontranslator.com\/en\/dget\/","og_locale":"en_US","og_type":"article","og_title":"Excel DGET Function \u2013 How It Works, Formula Examples and Syntax","og_description":"Learn what the Excel DGET function does. Clear syntax explanation and useful formula examples.","og_url":"https:\/\/functiontranslator.com\/en\/dget\/","og_site_name":"Function Translator","article_published_time":"2025-07-15T13:34:46+00:00","article_modified_time":"2021-02-13T11:33:41+00:00","author":"glavadmin","twitter_card":"summary_large_image","twitter_title":"Excel DGET Function \u2013 How It Works, Formula Examples and Syntax","twitter_misc":{"Written by":"glavadmin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/functiontranslator.com\/en\/dget\/","url":"https:\/\/functiontranslator.com\/en\/dget\/","name":"Excel DGET Function \u2013 How It Works, Formula Examples and Syntax","isPartOf":{"@id":"https:\/\/functiontranslator.com\/no\/#website"},"datePublished":"2025-07-15T13:34:46+00:00","dateModified":"2021-02-13T11:33:41+00:00","author":{"@id":"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/87663eece497ca58643166ecb09f1389"},"description":"Learn what the Excel DGET function does. Clear syntax explanation and useful formula examples.","breadcrumb":{"@id":"https:\/\/functiontranslator.com\/en\/dget\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/functiontranslator.com\/en\/dget\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/functiontranslator.com\/en\/dget\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Function Excel","item":"https:\/\/functiontranslator.com\/en\/"},{"@type":"ListItem","position":2,"name":"Database","item":"https:\/\/functiontranslator.com\/en\/database\/"},{"@type":"ListItem","position":3,"name":"DGET"}]},{"@type":"WebSite","@id":"https:\/\/functiontranslator.com\/no\/#website","url":"https:\/\/functiontranslator.com\/no\/","name":"Function Translator","description":"Excel function translator","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/functiontranslator.com\/no\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/87663eece497ca58643166ecb09f1389","name":"glavadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/03ccd9347c5339db75deede5a8c5b2bf1d40e0bce26a5251fcaac6331d381db8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/03ccd9347c5339db75deede5a8c5b2bf1d40e0bce26a5251fcaac6331d381db8?s=96&d=mm&r=g","caption":"glavadmin"},"sameAs":["https:\/\/functiontranslator.com"],"url":"https:\/\/functiontranslator.com\/en\/author\/glavadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":3,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":3038,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/posts\/147\/revisions\/3038"}],"wp:attachment":[{"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}