Solved

DSUM Excel database function with multiple rows of different criteria.

Posted on 2013-07-01
2
601 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Everything left of comma in excel 4 44
Macro to change number to Month in Excel? 10 45
Stop display of alerts in Word via Excel 12 16
MS Excel Formula Help 3 31
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
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…

790 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