Hi,
I am using Excel 2003 on Windows 7.
I have data like the below table, where there is a name in each of Columns B,C,D,E,F and I have concatenated columns B,C,D,E,F into column A. I included this data into a pivot table and what I am getting is 2 rows of data in the pivot table. 1 for Michael,Sam,Jim,Frank,Bill and 1 row for Michael, Sam, Jim, Bill, Frank.
What I actually wanted is just 1 row returned in the pivot table as both rows actually all contain the same names, just in a slightly different order.
Is there a way I can concatenate/group these 5 Columns together (B,C,D,E,F) in a way where it doesn't matter what order the names are in but as long as the concatenated cell has the same 5 names then it should be treated as the same value?
Concatenate Rows B-F Name1 Name2 Name3 Name4 Name5 Score
Michael,Sam,Jim,Frank,Bill Michael Sam Jim Frank Bill 1
Michael,Sam,Jim,Frank,Bill Michael Sam Jim Frank Bill 0
Michael,Sam,Jim,Frank,Bill Michael Sam Jim Frank Bill 1
Michael,Sam,Jim,Frank,Bill Michael Sam Jim Frank Bill 1
Michael,Sam,Jim,Frank,Bill Michael Sam Jim Frank Bill 0
Michael,Sam,Jim,Bill,Frank Michael Sam Jim Bill Frank 1
Michael,Sam,Jim,Bill,Frank Michael Sam Jim Bill Frank 1
The output I want to see in a pivot table in the above example is therefore 1 row of data (as each concatenated cell actually has the same 5 names) that sums up all of the scores (column G), so it should return a score of 5 for the 1 row of concatenated names.
Hope that makes sense.
thanks,
Michael
Bookmarks