Hello everyone,
I currently have a large data-set (200,000+ rows) that continuously updates with new data. A simplified version of this data is:
EVENT EVENT PERIOD ID1 ID2 ID3 ID4 ID5 ID6 CORRECT SHOT 2 987654 986524 986584 965841 954682 INCORRECT RELOAD 3 986524 984174 986584 965641 954612 925862
I would like to count number of the event types for every ID listed. Therefore for the sample data above, the table will look something like this:
The same ID will never be listed on the same event twice. Currently I have been using a SUMPRODUCT formula similar to:
ID# CORRECT SHOT INCORRECT LOAD 987654 1 0 986524 1 1 986584 1 1 965841 1 0 954612 0 1
=SUMPRODUCT((QUERY[EVENT]="CORRECT SHOT")*(QUERY[[ID1]:[ID6]]=[@[ID'#]]))
Where ID# is part of a table that has all of the ID numbers (~800 unique values). The plan was to have a table where the rows will be ID numbers and columns will be the event type (~10 unique events). Therefore, using ~8000 SUMPRODUCT formulas makes the sheet barely run.
Eventually I would like to make the table dynamic such that you can filter the results by event period as well, such that it only counts events that occurred in period 2.
Anyone have any alternatives?
Bookmarks