Given the attached excel file:
1) I need to see in a new sheet:
a) Similar items from column 2 grouped together in tables (one under each other separated with an empty row) and each table to show the total from their column 3.
b) A table with statistics: how many times (%) the each item type from column 2 is present.
2) I need to see in charts:
a) A chart with vertical bars. Each bar should show the total value from column 3 “Nr.” related with all similar items from column 2 “Reason”. For example “PP” from “Reason” appears many times but I want only one bar which has the height equal with sum from columns 3 “Nr” for all “PP”. In top of the bar I need to see that total value.
Under that bar I need to see with different colors each “PP” values.
The Ox axes should be the number of non-repeatable items from column 2 “Reasons”.
b) A pie chart to show only the totals from the chart with vertical bars.
c) A pie chart to show the statistics from 1) b).
You may apply filters, data validation, pivot table or VBA code.
Important: the data present in the attached excel file will not be the same for my real application (here is just an example) and I need to “automate” the data extraction, filtering, charting. The length of the initial list (number of rows) and the number of columns may vary.