Solved

DSUM Excel database function with multiple rows of different criteria.

Posted on 2013-07-01
2
579 Views
Last Modified: 2013-07-15
I need to calculate the "NET UNITS" used by individual clients. The problem is that each row in the criteria matrix is for a different client.
To do this I need to have a header row for each individual client - very redundant.
Currently in mt test file I have a header row for each client "hidden" and the criteria below.
Is there a way to get around having a separate header row for each client?
Also, how would I make that first column of criteria (Client Name) dynamic so as we add/delete clients, they would show up or not show up in the output?
My file has 3 tabs, the first is "Nov. 2011" - this is the original file they were using to track these units.
The second tab is a scaled down version of the Nov. 2011 data (only 5 or 6 clients) for testing.
The third tab is the criteria and output sheet.
I copied the list of clients from the Nov. 2011 sheet below the criteria matrix and as you can see, there are over 100 names. So using the current criteria layout would be tedious at best. And we would still need to manually add or delete clients from that list
DSUM-Expert-File.xls
0
Comment
Question by:Dallas590
2 Comments
 
LVL 16

Accepted Solution

by:
terencino earned 335 total points
ID: 39309870
Hi Dallas590, as an option instead of DSUM I've added another column to your data to calculate the NET_USED value for the given date range and set up a pivot table in the Pivot sheet. This will generate the numbers you are looking for quickly without duplicating criteria. Just right-click on the pivot table and Refresh after you have changed the data. You will need to extend the data range.
This is definitely the way to go for your data
Let me know what you think
...Terry
DSUM-Expert-File-Pivot.xls
0
 

Author Closing Comment

by:Dallas590
ID: 39326541
I was hoping to find a way to use the Excel database functions as the requested info might not always be just the the "Net Units".
But this approach does give me a workable approach - many thanks Terry.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now