I am trying to count individual records in 4 separate columns per row and then summarize the results.
For example, the table headers look something like this:
ID Col1 Col2 Col3 Col4
Each column (save ID) can have a text value of W, X, Y, or Z. Columns can have the same value.
What I'm trying to do is to specify a method for counting each record in columns, but only the number W, X, Y and Z once per row. So if:
ID Col1 Col2 Col3 Col4
X X Y
Y W X
Z Y Y
Results table:
Value Count
W 1
X 2
Y 3
Z 1
Any help would be greatly appreciated.
source
share