Solved

Dynamic CountIfs and Data copy

Posted on 2014-10-17
4
273 Views
Last Modified: 2014-10-17
Hello,

I have written formulas that require manual intervention and entry and my company doesn't like them.  They want them automated and to change frequently.

This seems fairly complicated but hopefully only to me!  I inherited this sheet so if you know of a better way to do this, please suggest!

What I am required to do is:
1.  I pull over data from TFS - through a query in TFS.  This goes onto one sheet called 'TFS Data'
2.  I create a pivot table based on that data and place it on a sheet titled 'Metrics'.  I pull over only 2 columns of the data.
     a.  The pivot table has two columns:  Product and ID.  
           The IDs are grouped in the applicable Product.  
            For instance; one Product is called Accounting Export.  This section contains 3 IDs:  1100, 1101, and 1102.  
     (This could change.  I could pull information over and it be Accounting Export with 4 IDs or no Accounting Export section at all).
3.  A sheet will also be created titled 'Accounting Export'.  This sheet will have a column that contains the IDs (1100, 1101, 1102)
4.  I want to place formulas in the columns next to each ID.  The formula will look on the accounting export page to get the count of rows that have that ID in column A. It will fill in this formula for every ID in the pivot table.

I've attached a file that will hopefully explain it well.
exMetrics.xlsx
0
Comment
Question by:Katharina DuBose
  • 2
4 Comments
 
LVL 27

Assisted Solution

by:Glenn Ray
Glenn Ray earned 300 total points
ID: 40387475
As an intermediate step - and to make sure I understand your request - see the attached example file showing a modification of your formulas on the Metrics sheet.  I changed a few of your percentage formulas also to test the denominator in every case so you wouldn't see #DIV/0! errors.

-Glenn
EE-exMetrics.xlsx
0
 
LVL 15

Accepted Solution

by:
Haris Djulic earned 200 total points
ID: 40387476
Hello,

as i understood you need formulas just in the Metric sheet to get the relevant values. I added just one column in the TFS data sheet to make it more searchable...

Can you take a look if it is acceptable to you and give comments if not?
exMetrics.xlsx
0
 

Author Comment

by:Katharina DuBose
ID: 40387490
These both work for my needs.  Samo4fun, you blew my mind.  I have to think on how that can work for me with the other steps I need and study it to learn what it does with the benefits.  I didn't even imagine combining the two.

Thank you both very much!
0
 

Author Closing Comment

by:Katharina DuBose
ID: 40387497
Both solutions worked for my needs and question.  I gave more points to the first one that came in.  Thank you for being so thorough and giving me the example to view.  It was clear and I can learn from it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
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…

867 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

21 Experts available now in Live!

Get 1:1 Help Now