Excel In Depth - Get the Cool DSUM: Podcast #1232

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Aug 27, 2010.
Reaching way back to the archives, the DSUM function allows for some pretty amazing criteria. Episode #1232 discusses how to build smaller criteria ranges for DSUM.

This episode is the podcast companion to "Excel 2010 In Depth", by Bill Jelen.
maxresdefault.jpg


Transcript of the video:
MrExcel podcast is sponsored by Easy-XL.
Excel 2010 in Depth, chapter 12.
Cool DSUM.
Hey! Welcome back to the MrExcel netcast.
I'm Bill Jelen, with DSUMs been around for a long time, and DSUM does all kinds of cool things.
It says, hey! We have a database, A1 through G1887.
We're going to specify which field G1 is, sales in this case and then specify a criteria range.
Alright! In the criteria range, there's all kinds of rules for these criteria range like here, I have two different customers, with two different products and so that requires four rows.
Now, if I had 10 customers and 20 products would be 200 rows of criteria would just take forever and this part of the book is talking about a cool alternative to building that 200 row criteria range and the way it works is...
So, we're gonna make this for your criteria range up here.
I'll just color yellow.
Leave the top row blank, nothing in that top row.
And then what you're going to do in the next row is write any kind of a formula that evaluates the true or false as if it's pointing at the second row of the database.
So, here I have a list of customers.
I want to see if my customers in the database are equal to any of these customers.
So, I used the match functions.
Hey! Go look at the customer at B2 to see if it's in here, then use ISNA and NOTs.
That way, that comes up to True or False, and then over here I have a list of products, I want any of those products to be true.
So, this one.
I'm taking a look at the mash of F2, that's our product in the database.
Check to see if it's equal to any of those over there, in column R.
And then grab that ISNA and NOTs.
So, that way I get the truth of the appropriate point in time.
So, to change this will just point to that as our criteria range.
Don't forget to include that blank row at the top, really important that you do that and it will automatically calculate the combination of all of these customers and all these products.
So, it both has to be one of these customers and one of these products in order to be true.
Allows you to build a very small criteria range that is doing the work.
You know, hundreds of cells.
Very cool way to go, very obscure.
Don't find many people using DSUM in the first place and then secondly this I think is the dynamic criteria.
Hey! I want to thank you for stopping by.
Will see you next time for another netcast, from MrExcel.
 

Forum statistics

Threads
1,223,714
Messages
6,174,047
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top