Excel Database Functions - BETTER than SUMIFS, COUNTIFS etc.!

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 211

  • @martinargimon730
    @martinargimon730 3 года назад +3

    Thanks Mynda. I use database functions ALL the time . I have created a whole DATA model with various tables fro my business that tracks orders, customers, invoices and so on, so the Database functions are a must.,.. Nice tutorial .Hope more people start using Excel's Data Model and these functions... Regards and thanks once again for you excellent tutorials. Bye for now

  • @lodingwai
    @lodingwai 3 года назад +3

    Thanks for sharing this! I've seen these "D" functions around and have been using Excel for years (for work) without being curious enough to look into them (getting by with SUMIFS and COUNTIFS etc). Now I can add one more tool to the Excel toolbox - thanks again!!

  • @JOJO-og2qc
    @JOJO-og2qc 2 года назад

    the most clear and full explanation of D~ function on youtube thank you so much

  • @blessedowo1958
    @blessedowo1958 3 года назад +8

    Thanks will learn this. :) I cannot express how thankful I am for your work.

  • @darrylmorgan
    @darrylmorgan 3 года назад +7

    Hi Mynda!Great Run Through Of Database Functions,I Learnt These Powerful Functions While Working With Access Back In The Day...Thank You :)

  • @guillaumecourtens9594
    @guillaumecourtens9594 3 года назад +5

    I used those a few years ago for KPI calculations. It was an elegant way to show the criteria to the customer without digging into formulas.
    One thing in the criteria is that the order of the columns doesn’t matter, since it’s based on matching labels. In the example from the video, the criteria on level could be between the two dates and it would work the same. Which is great because if some columns are added or the order changed in the data(base), you don’t have to rewrite the formula 🤠
    Anyway to keep it more easy to read, I use the same columns order in data and in criteria.

  • @roywilson9580
    @roywilson9580 Год назад

    Great video. The D functions also have the great bonus of having the criteria visible so no trying to work out what has been filtered in or out of the calculation. I also love the advanced filter for the same reason.

  • @MrNaquevedo
    @MrNaquevedo 3 года назад

    I’m in the middle of preparing budgets now, this will come in very handy, looks much better than using sumifs, etc.. Thank you so much!!!!

  • @vijayarjunwadkar
    @vijayarjunwadkar 3 года назад +5

    Very nice tutorial Mynda! Excel has so many hidden gems and thank you for getting them to us! Stay blessed! 👌👍

  • @maciejnejman5126
    @maciejnejman5126 3 года назад +2

    This is great. Up to now I used some other functionalities of Excel like tables, Power Query, sumifs and similar, array formulas, advanced filtering but only heard about database functions. Now I will harness them to the work 😀

  • @tudor771
    @tudor771 Год назад +1

    thank you for explaining so well!

  • @indzara
    @indzara 3 года назад +3

    Never used these. Thanks for sharing. The criteria table allowing formulas and the functions handling OR criteria are promising. We can have user control the output via inputs that have multiple conditions. Will give it a try.
    Any version compatibility issues with these functions? Thanks.

  • @utubeAgape
    @utubeAgape 3 года назад

    I did not know about these and will certainly think about how & when to use them - thank you for the great instruction!

  • @sachinrv1
    @sachinrv1 Год назад +1

    Thanks for D useful video. We can use a drop-down list and MATCH to return a number which intern feeds to column number in DSUM.

  • @excel-businessinexcel5181
    @excel-businessinexcel5181 3 года назад +1

    Database functions are a very powerful tool. I have been using it for many years. I even developed a special application with an interface to organize any kind of queries to the database. I recommend you to listen to this lecture carefully, you will definitely need it! Mynda, I apologize for the harsh words I said before.

  • @bulliethepirate
    @bulliethepirate 3 года назад +1

    Clearly explained and well presented. Thank you very much for this.

  • @DaveSlavens
    @DaveSlavens 3 года назад +3

    Thanks! I've seen the functions but I've never dug into them yet. This was a good primer for getting started. One question I have, can the criteria reference be to a Criteria Excel Table (with matching headers for the columns you want to filter on)?

  • @mariaalcala5159
    @mariaalcala5159 3 года назад

    Great video! I didn’t know about those formulas until I saw your video! Thanks Mynda

  • @diannedrechsler4792
    @diannedrechsler4792 3 года назад

    Very useful! This is a lot easier than writing large sumifs with many criteria.

  • @chrism9037
    @chrism9037 3 года назад +1

    Great video Mynda, I rarely use them so this was very helpful!

  • @ExcelDude
    @ExcelDude 3 года назад +1

    Great video, thanks for sharing!

  • @tomfontanella6585
    @tomfontanella6585 Год назад

    I did not know about these. Many years ago I taught database functions in Lotus 1-2-3 where the criteria were structured this same way. I guess Microsoft developers knew a good idea when they saw it

  • @JackKirr
    @JackKirr 25 дней назад

    Great video Mynda thank you! How/does this work with Dynamic Array Functions?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  24 дня назад +1

      These aren't dynamic array functions, but you can reference the output of a dynamic array in the first argument e.g.: =DSUM(A1#,...

  • @jeromeastier462
    @jeromeastier462 5 месяцев назад

    Excellent! Exactly what I needed. Cheers.

  • @silversolver7809
    @silversolver7809 3 года назад +1

    Excellent, very well explained Mynda, thanks!

  • @lesleywilliams3947
    @lesleywilliams3947 3 года назад

    Great video! I have never used these functions but as I watched I was thinking of all the ways I can use a number of them in my reports. Thank you!

  • @hemanttrivedi898
    @hemanttrivedi898 3 года назад

    Nicely explained Mynda.. I was using database functions for sometimes but there were some confusions which sorted out by this video. Thanks for sharing.

  • @wayneedmondson1065
    @wayneedmondson1065 3 года назад

    Hi Mynda. Thanks for this great summary of these less well know and used Database functions. Thumbs up!!

  • @ronniemodigh7438
    @ronniemodigh7438 3 года назад +1

    Hello Mynda and thanks for the tutorial, i saw there was another question on volatility, but I would like to expand on that. I read somewhere that Sumifs and Countifs become volatile when referencing another worksheet, is that the case also for the database formulas?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад +1

      In some rare instances, as explained here: www.decisionmodels.com/calcsecretsi.htm

  • @tomoo79
    @tomoo79 3 года назад

    This is great, not something I’ve ever stumbled across, i will need to consider when this is more appropriate than sumifs!

  • @a.achirou6547
    @a.achirou6547 Год назад

    Thank you. Great explanation. I didn't know those functions before.

  • @gregbernard7861
    @gregbernard7861 2 года назад

    Another good one, I’ll have to check these out more.

  • @ag3037
    @ag3037 3 года назад +1

    Awesome stuff. I think I love you, in an Excel kind of way.

  • @SothearithKONGMrMuyKhmer
    @SothearithKONGMrMuyKhmer 10 месяцев назад

    Thanks. Do you have a video about creating a database with a nice dashboard for any projects management (i.e. Contract management or inventory management). Thanks in advance for your sharing!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  10 месяцев назад

      I have this video on Project Management that might be of use to you: ruclips.net/video/5qtSioTE2wY/видео.html

    • @SothearithKONGMrMuyKhmer
      @SothearithKONGMrMuyKhmer 10 месяцев назад

      @@MyOnlineTrainingHub Thanks so much! 🥰

  • @bhqld628
    @bhqld628 Год назад

    Can you use a nested OFFSET for the criteria, so that you always have the full grid selected without Excel assuming you want "all"?

  • @Seawolf159
    @Seawolf159 3 года назад

    Wow, i've indeed never seen these before. These could be very useful.

  • @kennethdy5650
    @kennethdy5650 3 года назад

    Hi Mynda, Thank you.
    Just a note. I was working on the file from your page and the formula was returning zero. I realized that it's because the date in your file is set to dd/mm/yyyy. I suspect (not sure) that each computer has a default setting for reading formulas, and mine requires dates to be in mm/dd/yyyy to be properly read. So when I changed the date on the criteria table from "

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Yep, I'm using dd/mm/yyyy, so you're right to change the format of the filter critieria.

  • @shenry25
    @shenry25 2 года назад

    As always, another interesting, clear video. Many thanks.
    In this particular one, what is the difference with using the column filters? The filters seem to be much easier to use. I fear the answer is in another video that I have yet to watch...

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 года назад +1

      Hi Stephen, filtering with the column drop down buttons is a manual process, filtering with formulas is dynamic/automatic.

    • @shenry25
      @shenry25 2 года назад

      @@MyOnlineTrainingHub Many thanks.

  • @SarahChurch95
    @SarahChurch95 3 года назад +1

    Will dsum work to if you are linking it to an external workbook and don't have it open

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад +1

      No, the database functions don't work on closed workbooks.

  • @isaacmwabila5830
    @isaacmwabila5830 2 года назад

    Thank you Mynda for this interesting video! 👏

  • @physnoct
    @physnoct 3 года назад +3

    "Donkey's years" didn't know that one!

  • @rachaelhanna8523
    @rachaelhanna8523 3 года назад

    Great video, fully and clearly explains all the features and rules. Nice one .

  • @emilat_laccd630
    @emilat_laccd630 3 года назад

    Thank you - I didn't use these before but seems to be very handy

  • @jeremyjcobb
    @jeremyjcobb 2 года назад

    Good stuff. I would like to see the video address (1) the syntax of the function without using a separate table for conditions and (2) how the function handles double counting when a value meets both filtering conditions.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 года назад +1

      Thanks, Jeremy! Good suggestions. I showed how you can hard key the conditions (criteria) into the formula in the video. The criteria are considered AND and therefore you shouldn't get double counting.

    • @jeremyjcobb
      @jeremyjcobb 2 года назад

      @@MyOnlineTrainingHub Perhaps I missed it. Where did you show the hard-coding syntax?

  • @markjones1337
    @markjones1337 3 года назад

    One of life's quirks.
    Man talking about a database......boring
    Woman talking about a database......not boring.

  • @aibelrapheal5176
    @aibelrapheal5176 3 года назад

    First I thought this is same as filter or countif functions ...
    But this is better ♥️

  • @catalystinfotech960
    @catalystinfotech960 5 месяцев назад

    Please how did you select the table data? or you used a shortcut?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  5 месяцев назад

      There are lots of ways to select data e.g. for contiguous ranges CTRL+A or CTRL+SHIFT+arrow keys. HTH.

  • @Cookstein2
    @Cookstein2 3 года назад

    How does it compare to sum(filter(...)), using filter you can turn any function into a database function? Eg, percentile(filter(...))

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      FILTER is amazing. These functions are old. They don't compete with FILTER, but they're great alternatives to the IFs functions.

  • @reginaregi3184
    @reginaregi3184 3 года назад

    Thank You. Very much informative & useful video...

  • @juanantonioherediajimenez2828
    @juanantonioherediajimenez2828 2 года назад

    Hi Mynda! Great video. Is there anything similar in power query?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 года назад

      In Power Query? You can use Group By to summarise the data, but Power Query isn't really the tool for database type formulas, that's more the domain of Excel.

  • @afhlmd
    @afhlmd 3 года назад

    Mynda, as always thanks for sharing. Why do you say that they´re more powerful than sumifs and countifs? I didn´t get it!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Because with database functions you can have both AND and OR criteria, but with the ...IFS functions all criteria is considered AND.

  • @nightmarehvs
    @nightmarehvs 3 года назад

    Thank you!
    Can we use dget function to get multiple rows or columns? Like a substitute to pivot table?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Only with multiple DGET formulas, because remember DGET can only return a single value and it must be the only match in the table.

  • @taahatube1
    @taahatube1 3 года назад

    Thank u i will watch this video in my exam for a 100 % 😀😀😀😀😀

  • @mahmudurrahman9052
    @mahmudurrahman9052 2 года назад

    Hi , is there any function similar to Query in Google sheet for Excel ? Thanks

  • @ApteryxRex
    @ApteryxRex 3 года назад

    Thanks so much Mynda. These used to be my go to formulas before sumifs etc came along. It’s been almost 20 years since I last used the database functions. Were these called Dimensional Aggregates at one point?
    Setting criteria this way can be far more legible that long complex sumifs or averageifs
    I can’t remember though, can the field value be a cell reference with the column name as a string? If so the column being aggregated could by dynamic with use of data validation or even a slicer/pivot table on list result.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Thanks, Justin! I don’t remember them being called dimensional aggregates 🤔 yes, the field can be a cell reference and the column name a string 😊

  • @mohammadj.shamim9342
    @mohammadj.shamim9342 3 года назад

    As usual, professor thank you very much. You are great.

  • @skatez69
    @skatez69 3 года назад

    what is the efficiency like for database functions as apposed to *IF functions when dealing with large data sets? Also, are they fully volatile or only calculate when something in the relevant range is updated?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад +1

      They’re not volatile. I haven’t speed tested them, but I’ve also not heard of them being slow.

  • @republikadugave420
    @republikadugave420 9 месяцев назад

    Can you somehow reference a database loaded into a datamodel? Tried by referencing it by a cubemember inside dsum formula but it doesnt work ...

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  9 месяцев назад

      You can use CUBE functions themselves: ruclips.net/video/Wvajqz7uBbs/видео.html

  • @ataurrehman483
    @ataurrehman483 3 года назад

    Thanks will learn this.my Dear Mentor

  • @zdzislawkes
    @zdzislawkes 3 года назад

    Hi. I just wanted to ask what is Your relationship to the function of type D... when the database contains columns with text (eg: A100, A1000, A10000 ...) and You provide A100 in the criterion...
    The results are the same as for the A100* criterion.
    What do You think about it?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Good question. These functions are designed to work with tabular data. Having headers like that tells me that it's not tabular.

  • @zaydarendse2812
    @zaydarendse2812 3 года назад

    How did i miss these functions?!! :( thanks for sharing :)

  • @paulwarren3738
    @paulwarren3738 3 года назад +1

    Never heard of these! I thought I knew excel 😅

  • @andrewsegawa7221
    @andrewsegawa7221 3 года назад

    When are these Database functions needed? If I have a dataset with 10’s of millions of records, will these still come in handy because the table would seize to be helpful since we Excel table can’t contain over 1.048 M

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад +1

      If you have that much data you should use Power Pivot and then you'll have access to the DAX Function library. More on Power Pivot here: www.myonlinetraininghub.com/power-pivot-course

    • @andrewsegawa7221
      @andrewsegawa7221 3 года назад

      @@MyOnlineTrainingHub thanks for the content. I have started reading about DAX but I am considering enrolling for a course in Power Pivots. I am a big follower of your channel.

  • @johnborg5419
    @johnborg5419 3 года назад

    Thanks Mynda, that was very helpful. :)

  • @deepakrajmano950
    @deepakrajmano950 3 года назад

    How to change the font size of drop down lists? Actually i am using 75% screen fit size so that i can view all columns in one screen, In that if i select the drop down list cell it’s content not at all visible & font size is so small. Can you please help me to work on this?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Hi Deepakra, you can't change the font size in a drop down, so I suggest you change your zoom to 100% and instead change the font size of the data in the columns to fit it better.

  • @gagansingh3481
    @gagansingh3481 2 года назад

    Awesome Mam 👌

  • @arunachaleswaran
    @arunachaleswaran 3 года назад

    Superb Minda… Are there any ways to do intersection sum of tables ?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      You mean like this: www.myonlinetraininghub.com/excel-factor-15-the-lazy-lookup

    • @arunachaleswaran
      @arunachaleswaran 3 года назад

      @@MyOnlineTrainingHub Not like this .. Having 2 different tables with a single key column & intersecting it to find the sum of rows present in both columns. Like a power query merge.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад +1

      Please post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum

  • @rory1653
    @rory1653 3 года назад

    I always learn something when watching your vids. Keep up the great work.

  • @donjuan3887
    @donjuan3887 2 года назад

    Can this be use to count unique values?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 года назад

      No, but if you have Microsoft 365 then there is a UNIQUE function: www.myonlinetraininghub.com/excel-functions/excel-unique-function

  • @johnyoung9649
    @johnyoung9649 3 года назад

    Just to confirm, each database row is included in the summation only once even if it matches multiple rows of the criteria, Correct?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Yes, the DGET function returns the first match. If you want multiple matches, you can use the FILTER function: ruclips.net/video/ZCQAweoAdOw/видео.html

    • @johnyoung9649
      @johnyoung9649 3 года назад

      @@MyOnlineTrainingHub Actually, I meant like DSUM would only include rows once even if they matched multiple criteria rows.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Ah, no it will double count them if the criteria is on separate rows like in the OR scenario.

  • @dannyluu8140
    @dannyluu8140 3 года назад

    Hi Mynda, can we use formula in the criteria field?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Hi Danny, no, you can only reference cells in the worksheet. You can put formulas in those cells. You just can't nest a formula in the database functions.

    • @dannyluu8140
      @dannyluu8140 3 года назад

      @@MyOnlineTrainingHub
      Thanks Mynda, I am currently using SUMIFS formula with 2 criteria’s, the 1st criteria I m using the wildcard, but the 2nd criteria is depending on the row number. Is there another way to solve this other than SUMIFS formula?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Maybe with SUMPRODUCT. Please post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum

  • @drewbbc7074
    @drewbbc7074 2 года назад

    Nicely done.

  • @jared_musicSTC
    @jared_musicSTC 3 года назад

    This is awesome thanks! Is there any way to code criteria into formula bar? Or do they have to be setup in a table like you have?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Cheers, Jared! You can hard code the criteria, but I don’t usually recommend doing that for any formulas because it can result in a lot of maintenance if you want to update multiple formulas that all have the same criteria.

    • @roryarchibald8538
      @roryarchibald8538 3 года назад

      @@MyOnlineTrainingHub How do you hardcode criteria? AFAIK, it has to be a range (which is the biggest drawback to these functions generally). Have I missed something?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Hi Rory, I thought I tested this =DSUM(DataTable[#All],"Amount",{"Type";"Level 1"}) back when I created the video, but I must have imagined it because it doesn't work 😛

    • @roryarchibald8538
      @roryarchibald8538 3 года назад

      @@MyOnlineTrainingHub Shame - I thought they were about to become a lot more useful to me! :)

  • @Jahspecs1
    @Jahspecs1 2 года назад

    Extremely powerful!!!!

  • @abdulhaseeb8027
    @abdulhaseeb8027 3 года назад

    Amazing video and content. Really appreciate your help.

  • @mattschoular8844
    @mattschoular8844 3 года назад

    Super handy...Thanks Mynda

  • @ericlei2207
    @ericlei2207 2 года назад

    Very useful tips 👍 hopefully this will be implemented in the future in the normal excel filter tho lol

  • @mdexcelpro8495
    @mdexcelpro8495 3 года назад

    Good finding it's very useful for me 👍

  • @mickaell3451
    @mickaell3451 3 года назад

    Thanks I think I need to look on these function, they could be interesting. Cheers

  • @tommyharris5817
    @tommyharris5817 3 года назад

    Brilliant. Why even use Sumifs when DSUM is much quicker?

  • @hamidsh4789
    @hamidsh4789 3 года назад

    Thanks, Excellent.

  • @sidharthmohanty6434
    @sidharthmohanty6434 3 года назад +1

    Thanks

  • @EliotPowell
    @EliotPowell 3 года назад

    again, really quite excellent!

  • @brianzappacosta6689
    @brianzappacosta6689 3 года назад

    Thanks so much love

  • @rexbk
    @rexbk 6 месяцев назад

    Terimakasih

  • @ymn76ymn
    @ymn76ymn Год назад

    It is easy to use.

  • @laiheechow9216
    @laiheechow9216 3 года назад

    How come i can't download the workbook???

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Probably a browser issue. Try a different browser and be sure to follow the instructions on the page.

  • @sonoftoid8702
    @sonoftoid8702 3 года назад

    I may very well be wrong but I believe your comment about double counting in example (4) is incorrect. What will happen is that all Level 1 invoices will be included as well as any invoices from all other Levels not equal to "Atkins". This is not double counting.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      If you use the filters on the table and do the math you'll see what I mean.

  • @daniyalbaghi9395
    @daniyalbaghi9395 3 года назад

    this is great

  • @VikasIndoria-b1k
    @VikasIndoria-b1k Год назад

    good video

  • @ClausL1957
    @ClausL1957 3 года назад

    Unfornutately I can´t download the excel file :-(

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад

      Hmmm, not sure why that would be. Give it a try again now please, Claus.

  • @irynasavchenko91
    @irynasavchenko91 Год назад

    I swear I am doing everything exactly the way you're showing it, but it returns me nothing but the minus sign! Why it is so?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Год назад +1

      Hard to say without seeing your file and formula. Please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum

  • @Erni760803
    @Erni760803 Год назад

    Awesome

  • @raulcisneros7086
    @raulcisneros7086 3 года назад

    And just like that… now I think I am using more pivot tables than I actually need.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 года назад +1

      :-) glad you like the database functions, Raul! I don't think you can ever use PivotTables more than you need. They're more robust than any formula and easier to create.

    • @raulcisneros7086
      @raulcisneros7086 3 года назад +1

      @@MyOnlineTrainingHub Thanks! True, but sometimes I create report out of pivot tables (using a Getpivot function where arguments are referenced in the reporting table, so I can scroll formulas) and I need Totals by both Region and Product. So if the pivot has Region totals (and each region has almost the same Products) when I want totals for Products I just don’t’ have that available in that pivot and need a second Pivot.. perhaps for that reporting row I can use Database Functions (that is, for some aggregations)? Thanks!!

  • @hadireg
    @hadireg 3 года назад

    👍👍

  • @pavolsvorc7272
    @pavolsvorc7272 3 года назад

    Ach jo, škoda že to není český :-(

  • @alexrosen8762
    @alexrosen8762 Год назад

    Excellent