Hello all,
I'm hoping someone here has a creative solution to my (latest) problem.
On tab #1 I have roughly 600k lines data in a table set up like:
Project-----Sample-----Status----Status------Person----Employee Type----Timestamp
A1B1-ABC---A1B1-012---2----------Completed----John Doe--Sales--------------6/24/2013
On tab two (among other things) i have a table with each "Person"s name and how many "Completed" statuses they have for each Project. I also have a column for the number of days it took to get that many "Completed" and then i solve for average completed per day. Getting the number of completed is fine with multiple Countifs formulas. The problem is the (array) formula to count the number of days they worked on a project.
Currently that formula reads:
{=IF(SUM(IF(FREQUENCY(IF(Data![STATUS]="Completed",IF(Data![Project]="A1B1-ABC",IF(Data![Person]="John Doe",Data![TimeStamp]))),Data![TimeStamp]),1))>$E$2,$E$2,(SUM(IF(FREQUENCY(IF(Data![STATUS]="Completed",IF(Data![Project]="A1B1-ABC",IF(Data![Person}="John Doe",Data![TimeStamp]))),Data![TimeStamp]),1)))}
Where each referenced " " is actually a cell reference and "$E$2" is the cell reference for the maximum number of days for the project.
Basically i'm asking excel to crawl through all 600k lines for Completed, Project, Person and Timestamp, with a condition for the first three. This works, but is INCREDIBLY slow. Am I missing a better way of accomplishing this that doesnt require the array?
Thoughts? Thanks!
Bookmarks