DGET Function - The Secret VLOOKUP Alternative for Multiple Conditions

Поділитися
Вставка
  • Опубліковано 24 сер 2024
  • In this video, we look at the DGET function - the secret alternative to VLOOKUP for multiple conditions.
    This function appears to fly under the radar, yet is incredibly useful. The most well-known alternative to VLOOKUP is the INDEX and MATCH combination, but DGET should also be considered.
    The greatest strength of DGET is the ability to handle multiple conditions. By using a criteria range, it is simple to enter multiple conditions.
    It relies on the headers matching so can lack the flexibility of other formulas, but the simplicity is a plus.
    Find more great free tutorials at;
    www.computerga...
    ** Online Excel Courses **
    The Ultimate Excel Course - Learn Everything ► bit.ly/Ultimat...
    Excel VBA for Beginners ► bit.ly/37XSKfZ
    Advanced Excel Tricks ► bit.ly/3CGCm3M
    Excel Formulas Made Easy ► bit.ly/2ujtOAN
    Creating Sports League Tables and Tournaments in Excel ► bit.ly/2Siivkm
    Connect with us!
    LinkedIn ► / 18737946
    Instagram ► / computergaga1
    Twitter ► / computergaga1

КОМЕНТАРІ • 432

  • @supertotoro
    @supertotoro 3 роки тому +5

    Considering myself a pretty advanced excel user who can write vlookups and index-match statements in my sleep and still have never heard of this. This is amazing, no more helping columns! Love it!

  • @dougdevine27
    @dougdevine27 5 років тому +95

    I can make Excel sing with the best of them and I have never heard of DGET. Well done, mate!

    • @Computergaga
      @Computergaga  5 років тому +1

      Thanks Doug. Excel has a beautiful voice.

    • @andrewlankford9634
      @andrewlankford9634 5 років тому +1

      Probably because new versions of Excel try so hard to hide the help file from the user.

  • @johnq7242
    @johnq7242 4 роки тому +2

    Great info! Spent years grinding Index/Match lookups and never ever heard of DGET. Now I have to watch all of your other vids to see what else I've been missing.

    • @Computergaga
      @Computergaga  4 роки тому +1

      Welcome aboard, John 👊 INDEX-MATCH is a better formula and far more flexible than DGET. But DGET is simpler for this specific instance on creating summaries for Dashboards and Reports.

  • @hpottstock
    @hpottstock 5 років тому +7

    Mate, I wish I'd seen this video a few days ago. I ended up using CHOOSE inside a VLOOKUP inside an IF statement (!!) This is brilliantly straightforward. Thank you so much!

    • @dougmphilly
      @dougmphilly 5 років тому +1

      seriously, that was so simple

  • @theone1347
    @theone1347 4 роки тому +2

    I 2nd Dougdevine27's comment. I am a heavy and fairly advanced user and done things with excel where people said things like, "i didn't know you could do that in excel" but I had never heard of this function. Great job!!! 👍

  • @alnitak1003
    @alnitak1003 5 років тому +5

    I've been working with Excel for almost 8 years now and never heard of DGET() before, this will definitely make life easier... Thank you so much!

  • @abrotherinchrist
    @abrotherinchrist 5 років тому +6

    Bravo. Thanks for showing me something new! I've been using Excel for years and never heard of DGET.

    • @Computergaga
      @Computergaga  5 років тому

      You're welcome George. Thank you.

  • @rousebithol7519
    @rousebithol7519 5 років тому +6

    Thank for deeply explaining with good example. If possible, please add more relevant group of D* such as Dget, Dsum, Dmin, and Dmax. Thank again for kind sharing knowledge.

  • @ahmedal-dossary4386
    @ahmedal-dossary4386 6 років тому +9

    I was aware dget can replace vlookup and other functions. However, its ability to handle and replace array formulas is certainly something we should appreciate..!!!
    Thanks for sharing.

  • @Stepford
    @Stepford 5 років тому +4

    Great. Thanks for sharing. Whilst I can see the many advantages of DGET, the biggest disadvantage as far as I can see (unless I am missing something) is that you can't copy the formula down

    • @Computergaga
      @Computergaga  5 років тому +2

      This is true. Was designed as a summary function rather than for lists.

    • @loriperezlp
      @loriperezlp 5 років тому +2

      Hi Steve, You can use "Xlookup" function for lists. This replaced "Vlookup" for me.

    • @Stepford
      @Stepford 5 років тому

      @@loriperezlp yes, I am aware of that Lori... when it eventually becomes widely available. I have MS Office 365 ProPlus, but it's still not available to me!

    • @shanefield7339
      @shanefield7339 4 роки тому

      @@loriperezlp oh can we? *as we all sit here waiting for xlookup* :)

  • @patriktrivedi
    @patriktrivedi 5 років тому +32

    It's good to know but not a replacement for vlookup. what to do when you have to apply the same in multiple rows? still worth sharing. keep it up.

    • @emmadkareem5247
      @emmadkareem5247 4 роки тому

      The major issue is with Excel defines the "Criteria" for DGET. It should have been a simple condition.

  • @siddharthg4623
    @siddharthg4623 5 років тому +6

    Never heard about such a super formula, thanks for sharing

  • @barking_mad6649
    @barking_mad6649 5 років тому +7

    You do realise I've got to rewrite all my spreadsheets now! Really useful stuff!

  • @dolittlediehard1670
    @dolittlediehard1670 Рік тому

    🎉 Very good! I was vaguely aware of this formula but haven't used it. Until now!

  • @TruthofDilly
    @TruthofDilly 4 роки тому +1

    Like your style man, very cool and to the point, no faffin, 🙏🏽thanks

  • @sachinrv1
    @sachinrv1 5 років тому +8

    It's fantastic. This function is a combination of some features of vlookup and advanced filter. thanks for sharing

    • @Computergaga
      @Computergaga  5 років тому +1

      Thank you. You're welcome Sachin.

    • @rajeshmmishra5062
      @rajeshmmishra5062 4 роки тому

      @@Computergaga .. hi it's working only for 1st row not for next

  • @karenbourke1783
    @karenbourke1783 5 років тому +2

    Love Excel. Thanks for this. I didn't know about DGET

  • @wayneedmondson1065
    @wayneedmondson1065 6 років тому +8

    Hi Alan.. thanks for the clear and concise intro to DGET(). It is a new one for me and after watching your video, I can already think of ways to use it in my work.. excellent. Thumbs up!

  • @martijnfransen9933
    @martijnfransen9933 5 років тому +1

    nice function gonna use it monday was doing it with a long index and match formula now thanks for the tip

  • @Robert8455
    @Robert8455 5 років тому +1

    Very cool. You taught this old dog a new trick.

  • @MrTopdawg47
    @MrTopdawg47 5 років тому +3

    Cool, never heard of DGET. Excels library is vast. Thx for sharing the knowledge.

  • @panagiotistheodorou4959
    @panagiotistheodorou4959 4 роки тому

    Crystal Clear Sir. Thank You

  • @enrikekasijas705
    @enrikekasijas705 2 роки тому

    Never heard of this function. It's amazing;)

  • @duncanwil
    @duncanwil 5 років тому +1

    I often compare the database functions with SUMPRODUCT and SUMIFS and so on to show that as we add more criteria, the database functions never balloon in size, always database,field,criteria whereas the others get longer and longer and more complex. Database formulas win!

    • @Computergaga
      @Computergaga  5 років тому

      Yes, they sure are useful for this Duncan.

  • @slinky7355
    @slinky7355 5 років тому +1

    SUMPRODUCT can be made to work with any value. Simply convert the Boolean to binary using a double negative. E.g. --($A$2:$A$50="Apples"). You can return the row of the match by adding a ROW($A$2:$A$50) to your arguments list which makes the SUMPRODUCT now work with an INDEX.

  • @JBalshaw22
    @JBalshaw22 5 років тому +3

    Very useful! Re example 2...Sumproduct CAN BE USED with text and arguably can handle much more complex datasets with multiple matching values and also for creating summary tables. I point it out bc I use it daily with large DBs and it's a life saver.
    An example formula of using Sumproduct for the 2nd example (also will handle multiple matching values) is:
    =SUMPRODUCT(--($F4=$A:$A),--($G4=$B:$B),$C:$C)

    • @clabzzz
      @clabzzz 5 років тому +2

      SUMPRODUCT with text criteria is probably one of the most common functions I use in Excel. Very helpful!

    • @femmeNikita27
      @femmeNikita27 5 років тому +1

      Thank You kindly for this advice. This might be a solution to a problem I'm tryng to solve myself right now. Do You think on such formula could work across 3 different sheets? Or should I built 3 separate formulas for each? I have to handle the same data in 3 different sheets but additional problem is that even if a column refers to the same thing and includes the sae value the column naming system isn't coherent. What's more I have to deal with lack of possibility to use Vlookup option.

    • @JBalshaw22
      @JBalshaw22 5 років тому

      @@femmeNikita27 I don't think you could use sumproduct with multiple sheets in the same function but could have multiple sumproduct functions in the same cell if that makes sense?

    • @femmeNikita27
      @femmeNikita27 5 років тому

      @@JBalshaw22 Yes, makes sense. Thank You for prompt reply. I'm struggling with what I have in lack of more advanced options I know, so every suggestion which might be useful is priceless to me. Once more, highly appreciated help. I will put it to the test asap.

    • @JBalshaw22
      @JBalshaw22 5 років тому

      @@femmeNikita27 You're very welcome, let me know how you get on.

  • @subway22523
    @subway22523 5 років тому +2

    THANKS, ITS REALLY GOOD INSTEAD OF VLOOKUP WE CAN USE THIS, BUT HOW ABOUT IF I WANT TO DRAG THE SAME FORMULA BELOW THE SAME LINE WILL BE TAKE OTHER RESULT TOO FOR "PRODUCE CANADA" DATA

  • @ardip.6930
    @ardip.6930 5 років тому +2

    Great. Thank you and I cant wait to start using this formula.

  • @jdupes7708
    @jdupes7708 4 роки тому

    Nice. Much easier alternative to array formulas.

  • @umehtoch
    @umehtoch 5 років тому +2

    Watching this video has really been an eye opener. I never hears about the DGET function and its wonderful features till now.
    However, the search is only on one row. What if I have data to search for on the the second or third rows, if I pull the formula down to the next row, would the formula still work?

    • @Computergaga
      @Computergaga  5 років тому

      I'm afraid not Tochukwu. This lookup is more for your summary uses.

  • @eriol33
    @eriol33 5 років тому +1

    holy cow, this is what I have been looking in excel, all this time!! thank you!

  • @Saggi0405
    @Saggi0405 5 років тому

    Awesome.. Learned something new and valuable today.. Never heard and didn't knew it was so easy.. Thanks..

  • @BURRhypopo
    @BURRhypopo 5 років тому +1

    Since you cannot drag down the formula (e.g. if you had Produce Canada in row 5), what’s the solution to that? I also don’t want to use a helper column. Thanks

  • @mohideenthassim7180
    @mohideenthassim7180 6 років тому +1

    many thanks Alan, I did not know dget existed, a great tool and a great tutorial as always. Cheers Mohideen

  • @mans0011
    @mans0011 5 років тому +2

    Thanks for the great video! In your examples you have a single line of conditions for DGET (Produce in Denmark), but what if you were making a list of things, similar to a pivot table? Could you Put Produce in Canada underneath and still construct a DGET that will skip over the first row of measures and only look up the second row?

  • @David_F579
    @David_F579 5 років тому

    Excellent video. Thank for sharing. Never heard of DGET.

  • @pianothatilove
    @pianothatilove 2 роки тому

    Absolutely brilliant

  • @raja-dq1dj
    @raja-dq1dj 4 роки тому +1

    Really thank you s much sir.... Very usefull formula

  • @WhereIsHeist
    @WhereIsHeist 4 роки тому

    Solved a problem I was having with Vlookup! thanks!

  • @dragonknight1711
    @dragonknight1711 5 років тому +2

    Cool trick 👍 but just a question, is it possible to drag down to search for multiple items?

    • @muntasib
      @muntasib 5 років тому

      Yes, jus lock the reference heading cell column and keep the rows unlocked using f4

  • @yenhatesme
    @yenhatesme 5 років тому

    Been using vlookup for a long time, always annoyed by the limitation. Thanks for the video, learned a better replacement for vlookup!

    • @patriktrivedi
      @patriktrivedi 5 років тому

      dear its not like replacement. vlookup is far better then this one.

  • @khalidrehman5045
    @khalidrehman5045 5 років тому

    Wow, amazing, I never used this before but i will definitely try this. Thumbs up

  • @zakizulfikar3979
    @zakizulfikar3979 4 роки тому

    can you give example with next button change data from table to cell every click next button?

  • @georgiaserpe
    @georgiaserpe 6 років тому +2

    All I have to say is WOW!! Thank you.

    • @Computergaga
      @Computergaga  6 років тому

      You are more than welcome Georgia.

  • @jaipalrana.
    @jaipalrana. 6 років тому +2

    SUPERB!!! NEW ADDITIONAL KNOWLDGE this is really a Secret VLOOKUP alternative

    • @Computergaga
      @Computergaga  6 років тому

      Thank you Jaipal.

    • @JPAlpano
      @JPAlpano 5 років тому

      Only works if you are only looking for one id. If you have multiple ids to lookup, you cannot drag the formula down.

  • @crypt4519
    @crypt4519 5 років тому +6

    How would you apply dget, if there are multiple rows, and criteria changes for each row.

    • @JPAlpano
      @JPAlpano 5 років тому

      You cant. This is not a complete alternative for vlookup.

    • @femmeNikita27
      @femmeNikita27 5 років тому

      I suppose separate DGET formula for each case. Unless we do more digging in the issue and figure out something else.

  • @joeeydouglas
    @joeeydouglas 5 років тому +1

    Very good ... Thank you

  • @clivepetty2338
    @clivepetty2338 5 років тому +1

    Very good, I can see applications for this

  • @blockwhisperers8352
    @blockwhisperers8352 5 років тому +1

    Can’t believe how I didn’t know about this! One question though, if I am pulling back multiple results in a table how do I make my criteria change on each row? As from the second row onwards the field name and criteria will not be adjacent to each other?

    • @Computergaga
      @Computergaga  5 років тому

      Absolutely. This function does not return multiple results in rows in the way that VLOOKUP or INDEX can. Its strength lie in reporting scenarios and handling multiple criteria.

  • @huseinc
    @huseinc 5 років тому

    Thanks for sharing this valuable information

  • @kerx.1660
    @kerx.1660 6 років тому +3

    If possible, I want to click "like" for 100 times!👍👍👍+++

  • @Econotrix
    @Econotrix 2 роки тому

    very useful video. great 👌👍

  • @seanmahoney1077
    @seanmahoney1077 5 років тому +3

    The 'how-to" aspect was great. The tutorial could have been halved without the continuous sales pitch for the use of DGET(). It IS useful but perhaps not the greatest thing since sliced bread...

    • @Computergaga
      @Computergaga  5 років тому +1

      ha ha fair point. There have been many great things between and since.

  • @Everyonelovesyou
    @Everyonelovesyou 5 років тому

    Nice sharing...… I did not knew about this secret function of excel

  • @GV-gn3mj
    @GV-gn3mj Рік тому

    Thanks for posting. So we have to have a second table to indicate the criteria? cannot we just write"product", "name" within the criteria?

    • @Computergaga
      @Computergaga  Рік тому

      Yes, this function operates from a criteria range.

  • @dattaatreya
    @dattaatreya 5 років тому +3

    Thanku today I have learnt new function, dget.

  • @tofiq045
    @tofiq045 6 років тому +1

    Great tricks , thanks

  • @samratsaha1590
    @samratsaha1590 4 роки тому

    Very useful. Just wanted to know why can't we use data validation drop down lists in this second one.??
    I tried but didn't get the answer....

    • @Computergaga
      @Computergaga  4 роки тому

      You're right. Strange. Not sure why it doesn't work.

  • @TS-yy6jb
    @TS-yy6jb 3 роки тому

    Can't believe I haven't used dget all this while and been using helper cells for multiple criteria

  • @pralhadshetye8863
    @pralhadshetye8863 4 роки тому

    Amazing !! Never heard of this function before.

  • @akshaypai2096
    @akshaypai2096 4 роки тому

    Hi how to deal when the lookup value is not in a column. Rather spread across a table

  • @ahmad.s4723
    @ahmad.s4723 5 років тому

    Love this formula, great video ✔

  • @ashishtrivedi8253
    @ashishtrivedi8253 5 років тому

    Fantastic job sir! Thanks. 👍

    • @Computergaga
      @Computergaga  5 років тому

      You're welcome Ashish. Thank you.

  • @ubaidillahmuhammad20
    @ubaidillahmuhammad20 3 роки тому

    Please put all excel practiced files in the description.

  • @donlanky6388
    @donlanky6388 5 років тому

    Wow!!!!!!!!! I never knew this. Fab work sir. Thanks

  • @mariadiokno1220
    @mariadiokno1220 6 років тому +1

    Very helpful. thanks.

  • @RemofRenaissance
    @RemofRenaissance 3 роки тому

    Great video! Just one query - In the example 9mins in could you put other variables from row 4 onwards (under Product and Country) and would the DGET formula return the different results for sales in cells H4, H5, etc??? Many thanks for your help in advance and hope not too annoying!

  • @eunicesiu6249
    @eunicesiu6249 5 років тому

    This is better than using Vlookup! Thanks for posting the tutorial!

  • @samsabrosa6841
    @samsabrosa6841 5 років тому

    Wonderful tutorial

  • @jonrend
    @jonrend 5 років тому

    Cool man, another way of extracting data on multiple criteria

  • @LanceElot
    @LanceElot 5 років тому

    You touched on how this would help if there were multiple values that could return, but you didn't delve into it. Arguably would have made this video a lot better, complete even.

    • @NOTNOTJON
      @NOTNOTJON 5 років тому

      Dget(NamedRange,FieldToReturn,Conditions)
      The Conditions part is exactly like the where clause in SQL, so:
      "Name = ""Jon"" And ID = 18"
      or
      "Name > ""a"" OR Price = 7"
      would be perfectly valid.
      Don't quote me on the quotes though. Haven't done this on a long time. Might be single quotes, might be no quotes. trial and error!

  • @mavillalobos
    @mavillalobos 4 роки тому

    Very useful!!!

  • @yosef-yosef9414
    @yosef-yosef9414 5 років тому

    you deserved to be subscribed

    • @Computergaga
      @Computergaga  5 років тому

      Thank you Yosef.

    • @yosef-yosef9414
      @yosef-yosef9414 5 років тому

      @@Computergaga because you helped people. thank you too 👌(from the Philippines)

  • @rjbush7955
    @rjbush7955 4 роки тому

    I have hardly ever used excel’s D functions. Since Power Query and Power Pivot were added to excel, even VLOOKUP is pretty redundant now. Good reminder of how DGET works though.

    • @Computergaga
      @Computergaga  4 роки тому

      You're absolutely right, and with XLOOKUP here too there are many new and improved ways to do what we once relied on VLOOKUP for.

  • @balag3480
    @balag3480 5 років тому

    Awesome thanks for.nice presentation.

    • @Computergaga
      @Computergaga  5 років тому

      You're welcome. Thank you Gurrappa.

  • @SujathaS-sx3kg
    @SujathaS-sx3kg 5 років тому

    Thanks for clear explaination. It's really helpful. Instead of index and match, can i use dget function.

    • @Computergaga
      @Computergaga  5 років тому

      You're welcome. It depends on the situation. This is a database function so great for summarising data, INDEX & MATCH more for retrieving data for lists.

  • @AllMappedOut86
    @AllMappedOut86 5 років тому

    Is there another way of inputting the criteria apart from as a range? It would be ideal if you didn't have to use any cells to call the function, which is why I don't really use the advanced filter functionality either

  • @saqibbutt6867
    @saqibbutt6867 5 років тому +1

    Hi brother,
    I need help with a case. Please let me know if you could help me with it.
    Thanks,
    Saqib

  • @alimi6967
    @alimi6967 5 років тому

    Hi Can you help me getting my data sorted in horizontal Criteria & Vertical criteria using Dget function ?

    • @Computergaga
      @Computergaga  5 років тому

      I'm not sure what you are asking Mo. Sounds like you may want to transpose your data.

  • @thezigs971
    @thezigs971 5 років тому +1

    just use combination of =MaTCh and =index its way more effective and flexible

  • @afzalzamiransari
    @afzalzamiransari 3 роки тому

    Sir please make video on how to install and run office 2019 in window 8

  • @vijay2yuvi
    @vijay2yuvi 5 років тому

    can you make video on the following functions together for if(indirect(concatenate(match()))

  • @ajijoseph7728
    @ajijoseph7728 2 роки тому

    Is there any options to hide formulas when i click in a cell containing it..

  • @khalidQweder
    @khalidQweder 5 років тому

    Excellent.

  • @uvais
    @uvais 3 роки тому

    Can we use dget if the table is in a different workbook

  • @miroslavtriebel8126
    @miroslavtriebel8126 4 роки тому

    Definetely thumb up for this video sir!

  • @wongpeggy4363
    @wongpeggy4363 4 роки тому

    Hi, just to check. under this Dget function can it work in a diff workbook or worksheet? exp: I want to use the main worksheet get the info from others workbook. This Dget can it work in this way?

  • @entertainmentgalaxy971
    @entertainmentgalaxy971 6 років тому +1

    thanks for sharing....

  • @mikelennon1078
    @mikelennon1078 3 роки тому

    Just to confirm would it return multiple rerecords as well? Let's say I select a company name from a drop down list or Combo Box then it returns the list of all it's employees who work there with their first name, last name, title, phone, email address,.........from another worksheet? Is there an easier way to achieve this goal?

  • @miles1337
    @miles1337 5 років тому +1

    Can DGET have multiple criterior in rows as opposed to columns?

    • @femmeNikita27
      @femmeNikita27 5 років тому

      Very good question. I would add to it : can it do so for multiple criteria in rows across multiple sheets? since this is kind of vlookup alternative I'm looking for now.

  • @brianhogan9563
    @brianhogan9563 4 роки тому

    Would the database part become dynamic if it were made into a table that can be updated?

  • @hemanthk4455
    @hemanthk4455 5 років тому

    Thanks for sharing .

  • @moodyrcf
    @moodyrcf 5 років тому +3

    so much better than vlookup. ive been looking for this for years

    • @Computergaga
      @Computergaga  5 років тому

      Great Raphael.

    • @patriktrivedi
      @patriktrivedi 5 років тому

      try with multiple rows and reply how better then vlookup ?

  • @unitedworldcare9497
    @unitedworldcare9497 4 роки тому

    Sir,
    How we can get data from daybook, to create party wise ledger, with sales details and receipt details. Please help me

  • @teoxengineer
    @teoxengineer 3 роки тому

    How can DGET detect exact match or approximate match?

  • @dumpalakalki6897
    @dumpalakalki6897 5 років тому +1

    Thanks

  • @kevinclifford2637
    @kevinclifford2637 6 років тому +1

    Great thank you!

  • @k.chriscaldwell4141
    @k.chriscaldwell4141 5 років тому

    Superb! Thanks.

  • @jaycss
    @jaycss 3 роки тому

    Question: At 7:74 you say, "let me fix that" and instantly the $ sign appears in the formula. How? Did you pause the video and type them in or is there a short-cut key that does it?

  • @oliviermanbode4788
    @oliviermanbode4788 5 років тому

    Ver y useful....thx for sharing