Solved

Dynamic CountIfs and Data copy

Posted on 2014-10-17
4
284 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

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.
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

809 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