Dear Excel Legends,
I have spent my whole day to solve this one but no luck. I've attached my dataset file.
What I am trying to do here is that I want to come up with a function that can sum the 'count' for EACH 'category' for EACH ROW. This dataset unfortunately has to be in this format and cannot be combined, merged, or divided. So for example, if you look at the second row, you will be able to see that there are three occurrence of Category 1 (B2, D2, and J2) and what i want to do is essentially summing up the 'count' accompanied by the each cell. So here, I want to sum A2(=77), C2(=62), and I2(=71).
I tried many things - the hlookup only gives me the first occurrence so failed, and when I tried to use SUMIF, SUMIFS, and IF, I couldn't figure it our as my 'Category' values are numeric, so I failed to distinguish the values.
Basically I want to make a function to command 'sum the Count only if the Category is 1.' Any way to do this????
Bookmarks