Solved

DSUM Excel database function with multiple rows of different criteria.

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

760 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

19 Experts available now in Live!

Get 1:1 Help Now