Generate Percentage summary table for all test point numbers

%3CLINGO-SUB%20id%3D%22lingo-sub-2422437%22%20slang%3D%22en-US%22%3EGenerate%20Percentage%20summary%20table%20for%20all%20test%20point%20numbers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2422437%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20generate%20a%20summary%20table%20with%20percentages%20(example%20of%20what%20I%20want%20on%20the%20right)%20but%20I%20want%20to%20do%20this%20across%20the%20ranges%20for%20all%20test%20points.%20So%20for%20test%20point%202%2C%20I%20want%20excel%20to%20calculate%20the%20percentage%20of%20P%2C%20W%20and%20F%20(Pass%2C%20Warning%2C%20Fail)%20for%20range%20A26%3AA55%20and%20then%20so%20on%20for%20all%20the%20other%20test%20points.%20Is%20there%20a%20way%20to%20automate%20this%20using%20a%20pivot%20table%20or%20macro%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20this%20is%20done%20for%20all%20test%20points%2C%20I%20want%20to%20filter%20for%20test%20points%20that%20had%20a%20high%20failure%20rate%20(%26gt%3B50%25%20F).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2422437%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECharting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2422586%22%20slang%3D%22en-US%22%3ERe%3A%20Generate%20Percentage%20summary%20table%20for%20all%20test%20point%20numbers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2422586%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1072955%22%20target%3D%22_blank%22%3E%40OmkarJ1996%3C%2FA%3E%26nbsp%3BNot%20sure%20if%20it%20answers%20your%20question%20completely%2C%20but%20the%20attached%20file%20contains%20a%20pivot%20table%20that%20seems%20to%20summarise%20most%20of%20what%20you%20asked%20for.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,

 

I am trying to generate a summary table with percentages (example of what I want on the right) but I want to do this across the ranges for all test points. So for test point 2, I want excel to calculate the percentage of P, W and F (Pass, Warning, Fail) for range A26:A55 and then so on for all the other test points. Is there a way to automate this using a pivot table or macro?

 

Once this is done for all test points, I want to filter for test points that had a high failure rate (>50% F).

 

Thanks.

1 Reply

@OmkarJ1996 Not sure if it answers your question completely, but the attached file contains a pivot table that seems to summarise most of what you asked for.