Solved

Dynamic CountIfs and Data copy

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This collection of functions covers all the normal rounding methods of just about any numeric value.
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.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

758 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

14 Experts available now in Live!

Get 1:1 Help Now