Hi
I am doing a document for statistics for football officials (I have been writing about the document in here before and got some great help), and now I have some pretty long formulas, I was wondering if could be cut down.
Basically I have 2 parts in the document.
Part 1 is penalty reports from the football games, which says which officials is calling each penalty, if the penalty is accepted or declined, and the grade of each called penalty (correct, incorrect og marginal). Each game is in its own sheet, and they're called "Sheet1" through "Sheet59" and they're all named "allsheets" with name manager (thanks vlady!)
Part 2 is then the statistics gathered from the penalty reports. I have to gather a whole lot of different stats, and for that I use countifs a whole lot, but I can't get it to work with multiple columns for the same criteria, and then I get some "countifs+countifs+countifs+countifs+countifs+countifs" type of formulas, and the document is getting really slow, but I have lived with it until now... :-)
Now I have come across a problem, that I with my current knowledge only can solve with a very very long formula...
In each penalty report, the initials for each official in the game is in the second row. U2 is referee, V2 is umpire, W2 is linesman and so on.
In the penalty report is 6 columns, that can say which official has called the penalty, but here they are written as position, and not by initial.
Now I need to find out how many fouls each official in the league has called, but there is 6 columns that can contain a position, and there is 7 different positions, so if one of the 6 "position" columns says "R" it has to find out who "R" is... I made a "working" monster countifs formula, but it can't be used as it makes everything freeze for minutes while it calculates :-)
I don't know if I can explain it good enough, as English isn't my native language, so I have attached a sample document with only report for one game to make it a bit faster, and stripped for some of the simpler statistics. I made the "monster formula" in just one cell here at one of the officials just to show how bad it is :-)
I hope that someone can help with a formula that can gather these informations. And if you have the time and urge for it, feel free to look at the other formulas in the document to see if there is a more efficient way to do it - I'm fairly new in working with Excel, but I have learned a few functions in my work with this document by asking on this forum, and I would like to learn all I can about Excel, as I will probably be doing more stuff like this document.
Bookmarks