I have some data that records exactly six factors for every trial. There are 25 possible factors for each trial, but exactly six different ones will occur in each trial. Trial one might use factors a, b, c, d, e, f and trial two might use a, b, c, d, f, g, for example. I also record the outcome of each trial as a success or a failure, as well as some other things for each trial. I'd like to be able to show the success rate, among other things, based on the occurrence of any individual factor. I think I could do this if I used a pivot table with a column for each possible factor by putting a one or zero in the appropriate slot, but then I'd have 25 different columns. My other idea was to use six columns and record a factor in each. The order makes no difference, but I don't know if I can still show what I want using this method as the pivot table will think that each of the six factor columns are different (it would treat a 'b' that shows up in the second column as a separate case than a 'b' that shows up in the first column). Are either of these the right way to approach this and if not, then what is?
Follow up... If possible, I'd also like to show success rate given a combination of factors within a trial, as well as a success rate given a certain factor within a trial against a competing factor (success rate when 'a' occurs without an opposing 'a' or when 'a' occurs against an opposing 'd').
Solved by Z. H. in 22 mins