Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DSUM Excel database function with multiple rows of different criteria.

Posted on 2013-07-01
2
Medium Priority
?
656 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
terencino earned 1005 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

604 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