Forum Discussion

kennethsorsdalbirno's avatar
kennethsorsdalbirno
Copper Contributor
Sep 24, 2024
Solved

Keep the row numbers in pivot table when you sort on field

I have made a pivot table and added a column at the end which is called comments. The purpose for that column is off course to make comments to the separate row in the pivot table. This works fine wh...
  • JKPieterse's avatar
    JKPieterse
    Sep 24, 2024

    kennethsorsdalbirno right. This way it is never going to work. Excel doesn't "know" the data you put next to a pivot table needs to stay with a certain row of the pivot table. You need to create a separate table for the comments which has all the unique items which are your current pivot table rows. Then use a lookup formula to fetch the information from that table next to your pivot table.

Resources