I have 2 questions which I think ultimately come down to not knowing how to phrase my Google searches:
The more important question:
2) Is there a way to make Excel "hide" the subcategories which are irrelevant due to my current selection of sorting criteria? Example: Column A consists of either X, Y, or Z. Option X has corresponding values of 1, 2, 3 in Column B; Option Y has values of 2, 3, 4 in Column B; Option Z has values 2, 3, 5 in Column B. In my pivot table, I select only option X, meaning that the subcategories 4 and 5, which exist in my data set, are irrelevant based upon my current selection criteria (Option X only). Similarly if I selected X and Z only, I would want the sorting options for Column B to display 1, 2, 3, 5 but eliminate the ability to select 4 as an option, because it only corresponds to Option Y, which I have not selected to sort for/display.
This obviously becomes more useful as the number of categories and the number of data points become quite large, as is the case in my current application. I hope this example makes the question clear.
Any and all help would be hugely appreciated- thanks!
[Solved] (and thus moved down)
1) In my data table, I have on column referring to a measurement which only has 2 input options: call them 5 and 10. I dragged a "5" cell down for a large part of the column, not realizing it was adding 1 to each instead of copying the cell. I made the pivot table and realized what had happened once I saw the subcategories 5,6,7,8,etc in the corresponding column. I went back and changed all the data to exclusively 5s and 10s (and formatted the cells to only accept those 2 inputs), but no refreshing of the table is eliminating the empty subcategories "6,7,8" etc. Is there a way to get rid of those without changing the range of the data source and then changing it back, thus losing my pivot table formatting?
Bookmarks