Skip to content
Felix
  • Topics
    • My List
    • Felix Guide
    • Asset Management
    • Coding and Data Analysis
      • Data Analysis and Visualization
      • Financial Data Tools
      • Python
      • SQL
    • Credit
      • Credit Analysis
      • Restructuring
    • Financial Literacy Essentials
      • Financial Data Tools
      • Financial Math
      • Foundations of Accounting
    • Industry Specific
      • Banks
      • Chemicals
      • Consumer
      • ESG
      • Insurance
      • Oil and Gas
      • Pharmaceuticals
      • Project Finance
      • Real Estate
      • Renewable Energy
      • Technology
      • Telecoms
    • Introductory Courses
    • Investment Banking
      • Accounting
      • Financial Modeling
      • M&A and Divestitures
      • Private Debt
      • Private Equity
      • Valuation
      • Venture Capital
    • Markets
      • Economics
      • Equity Markets and Derivatives
      • Fixed Income and Derivatives
      • Introduction to Markets
      • Options and Structured Products
      • Other Capital Markets
      • Securities Services
    • Microsoft Office
      • Excel
      • PowerPoint
      • Word & Outlook
    • Professional Skills
      • Career Development
      • Expert Interviews
      • Interview Skills
    • Risk Management
    • Transaction Banking
    • Felix Live
  • Pathways
    • Investment Banking
    • Asset Management
    • Equity Research
    • Sales and Trading
    • Commercial Banking
    • Engineering
    • Operations
    • Private Equity
    • Credit Analysis
    • Restructuring
    • Venture Capital
    • CFA Institute
  • Certified Courses
  • Ask An Instructor
  • Support
  • Log in
  • Topics
    • My List
    • Felix Guide
    • Asset Management
    • Coding and Data Analysis
      • Data Analysis and Visualization
      • Financial Data Tools
      • Python
      • SQL
    • Credit
      • Credit Analysis
      • Restructuring
    • Financial Literacy Essentials
      • Financial Data Tools
      • Financial Math
      • Foundations of Accounting
    • Industry Specific
      • Banks
      • Chemicals
      • Consumer
      • ESG
      • Insurance
      • Oil and Gas
      • Pharmaceuticals
      • Project Finance
      • Real Estate
      • Renewable Energy
      • Technology
      • Telecoms
    • Introductory Courses
    • Investment Banking
      • Accounting
      • Financial Modeling
      • M&A and Divestitures
      • Private Debt
      • Private Equity
      • Valuation
      • Venture Capital
    • Markets
      • Economics
      • Equity Markets and Derivatives
      • Fixed Income and Derivatives
      • Introduction to Markets
      • Options and Structured Products
      • Other Capital Markets
      • Securities Services
    • Microsoft Office
      • Excel
      • PowerPoint
      • Word & Outlook
    • Professional Skills
      • Career Development
      • Expert Interviews
      • Interview Skills
    • Risk Management
    • Transaction Banking
    • Felix Live
  • Pathways
    • Investment Banking
    • Asset Management
    • Equity Research
    • Sales and Trading
    • Commercial Banking
    • Engineering
    • Operations
    • Private Equity
    • Credit Analysis
    • Restructuring
    • Venture Capital
    • CFA Institute
  • Certified Courses
Felix
  • Data
    • Company Analytics
    • My Filing Annotations
    • Market & Industry Data
    • United States
    • Relative Valuation
    • Discount Rate
    • Building Forecasts
    • Capital Structure Analysis
    • Europe
    • Relative Valuation
    • Discount Rate
    • Building Forecasts
    • Capital Structure Analysis
  • Models
  • Account
    • Edit my profile
    • My List
    • Restart Homepage Tour
    • Restart Company Analytics Tour
    • Restart Filings Tour
  • Log in
  • Ask An Instructor
    • Email Our Experts
    • Felix User Guide
    • Contact Support

Database Analysis

Learn essential Excel tools to efficiently analyze databases.

Unlock Your Certificate   
 
0% Complete

13 Lessons (70m)

Show lesson playlist
  • Description & Objectives

  • 1. Simple Sorting

    05:30
  • 2. Advanced Sorting

    06:40
  • 3. Auto Filters

    06:39
  • 4. Advanced Filters

    09:45
  • 5. Subtotals

    05:58
  • 6. Sum IF

    07:11
  • 7. D Functions

    05:07
  • 8. Simple Pivot Tables

    08:18
  • 9. Cross Tab Pivot Tables

    03:44
  • 10. Filters and Slicers

    04:48
  • 11. Pivot Table Grouping

    02:23
  • 12. D Functions and Pivot emulation

    03:12
  • 13. Database Analysis Tryout


Prev: Goal Seek and Solver Next: Introduction to Macros

D Functions

  • Notes
  • Questions
  • Transcript
  • 05:07

Understand the advantages of D Functions over SIMIF and SUMIFS

Downloads

Database Analysis Workout EmptyDatabase Analysis Workout Full

Glossary

DAVERAGE DMAX DMIN DSUM
Back to top
Financial Edge Training

© Financial Edge Training 2025

Topics
Introduction to Finance Accounting Financial Modeling Valuation M&A and Divestitures Private Equity
Venture Capital Project Finance Credit Analysis Transaction Banking Restructuring Capital Markets
Asset Management Risk Management Economics Data Science and System
Request New Content
System Account User Guide Privacy Policy Terms & Conditions Log in
Transcript

So as an alternative to SUMIF or COUNTIF or SUMIFS or COUNTIFS Functions, we can look at D Functions instead. And D Functions have some advantages over the more simple SUMIF or SUMIFS Functions. So let's have a look at them first, and then we'll talk about perhaps, some of the advantages they have. So the first thing is, unlike the SUMIF or SUMIFS Functions, the criteria aren't built into the function itself. Rather a bit like when we run an advanced filter, we have to set up an area of the spreadsheet first, where we're gonna enter the criteria that we're gonna use for our D Functions. So that's what we're gonna do first. And I'm gonna literally just copy the Column Headings from my database and just copy them into a new area of the spreadsheet, just at the top here. Just underneath the question that this, our first question that is posed to us. It's asking us, "How many units of lip gloss has Ashley sold?" Okay, so this is what I need to build up in my criteria. It's the criteria that I want to add in to match the question that's being asked. So, "How many units of lip gloss has Ashley sold?" So lip gloss. (keyboard clicking) Ashley. So there's my criteria.

The next stage then is to actually write the function itself.

So let's just come on up here, and this is where we're gonna put our total. So we start off, all the functions in the D Function Range are exactly the same. There's just the letter D preceding the normal function name. So it's asking us, "How many units?" So this is gonna be a SUM. So we want a DSUM.

(space bar clicking) And they all have the same three arguments as well. So this another nice thing about the D Functions, is they all follow the nice, same pattern. So the first argument's always the database and that includes the Column Headings. So I'm gonna come down here, and then we're gonna select the whole thing, including the Column Headings. The second one is the field that I want to do the calculation on. So it's asking us about the units that are sold. So I just come down. And notice, I'm just selecting the Column Heading. So just the Units. I don't have to select the whole column, it's just the Units at the top. Comma. And then the criteria is the whole criteria section that I set up in my spreadsheet at the top.

So it's just that area there. Close the brackets, press Enter. So, "How many units of lip gloss has Ashley sold?" 1,985.

Let's have a look at the next one. We've got, "What was the average units sold by Ashley in the south?" Okay, so let's just copy our headings down again. (keyboard clicking) So we still want Ashley.

So we can copy that in there. But this time, it's asking us about the south region.

And it's asking as to the average units sold. So equals, D, AVERAGE.

Same three arguments, you'll notice. The database first. So it's coming down to the database. (keyboard clicking) Comma. The fields that we wanted to use. So it's still asking us about Units. So it's the Units header only. Comma. And then the final piece then is the criteria. And that's all of the section that we've just built at the top here. Close the brackets, press Enter. So the, "Average unit sold by Ashley in the south," 41.8.

So hopefully, now you can see after doing a couple of D Functions, they all follow the same pattern. So just remember you can have DCOUNT, DAVERAGE, DSUM, DMIN, DMAX, and a number of other D Functions. The nice thing about them, is they all follow the same pattern. And obviously, if I change the criteria in the Criteria Section, my formulas automatically update in real-time. They're very quick, very fast, and they're a neat way of extracting calculation information from a database. Okay, so that's it for D Functions. I'll leave you to answer that last question, "What was Ashley's biggest sale in 2013?" I'll leave you that one to figure out on your own. Good luck.

Content Requests and Questions

You are trying to access premium learning content.

Discover our full catalogue and purchase a course Access all courses with our premium plans or log in to your account
Help

You need an account to contact support.

Create a free account or log in to an existing one

Sorry, you don't have access to that yet!

You are trying to access premium learning content.

Discover our full catalogue and purchase a course Access all courses with our premium plans or log in to your account

You have reached the limit of annotations (10) under our premium subscription. Upgrade to unlock unlimited annotations.

Find out more about our premium plan

You are trying to access content that requires a free account. Sign up or login in seconds!

Create a free account or log in to an existing one

You are trying to access content that requires a premium plan.

Find out more about our premium plan or log in to your account

Only US listed companies are available under our Free and Boost plans. Upgrade to Pro to access over 7,000 global companies across the US, UK, Canada, France, Italy, Germany, Hong Kong and more.

Find out more about our premium plan or log in to your account

A pro account is required for the Excel Add In

Find out more about our premium plan

Congratulations on completing

This field is hidden when viewing the form
Name(Required)
This field is hidden when viewing the form
Rate this course out of 5, where 5 is excellent and 1 is terrible.
Were the stated learning objectives met?(Required)
Were the stated prerequisite requirements appropriate and sufficient?(Required)
Were the program materials, including the qualified assessment, relevant and did they contribute to the achievement of the learning objectives?(Required)
Was the time allotted to the learning activity appropriate?(Required)
Are you happy for us to use your feedback and details in future marketing?(Required)

Thank you for already submitting feedback for this course.

CPE

What is CPE?

CPE stands for Continuing Professional Education, by completing learning activities you earn CPE credits to retain your professional credentials. CPE is required for Certified Public Accountants (CPAs). Financial Edge Training is registered with the National Association of State Boards of Accountancy (NASBA) as a sponsor of continuing professional education on the National Registry of CPE Sponsors.

What are CPE credits?

For self study programs, 1 CPE credit is awarded for every 50 minutes of elearning content, this includes videos, workouts, tryouts, and exams.

CPE Exams

You must complete the CPE exam within 1 year of accessing a related playlist or course to earn CPE credits. To see how long you have left to complete a CPE exam, hover over the locked CPE credits button.

What if I'm not collecting CPE credits?

CPE exams do not count towards your FE certification. You do not need to complete the CPE exam if you are not collecting CPE credits, but you might find it useful for your own revision.


Further Help
  • Felix How to Guide walks you through the key functions and tools of the learning platform.
  • Playlists & Tryouts: Playlists are a collection of videos that teach you a specific skill and are tested with a tryout at the end. A tryout is a quiz that tests your knowledge and understanding of what you have just learned.
  • Exam: If you are collecting CPE points you must pass the relevant CPE exam within 1 year to receive credits.
  • Glossary: A glossary can be found below each video and provides definitions and explanations for terms and concepts. They are organized alphabetically to make it easy for you to find the term you need.
  • Search function: Use the Felix search function on the homepage to find content related to what you want to learn. Find related video content, lessons, and questions people have asked on the topic.
  • Closed Captions & Transcript: Closed captions and transcripts are available on videos. The video transcript can be found next to the closed captions in the video player. The transcript feature allows you to read the transcript of the video and search for key terms within the transcript.
  • Questions: If you have questions about the course content, you will find a section called Ask a Question underneath each video where you can submit questions to our expert instructor team.