• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Handling text fields in Pivot table results

Manosh

New Member
Hello everyone!
Pivots are great to use, but how do you "return" the text fields associated with the line?
In some cases my data is text, in the case of the example uploaded, its the "land use" for the development brief, or alternatively it could be a notes column, in other cases its a number.
My workaround for returning the number is a Max (or min) however i am yet to figure out an elegant solution for the text. In my example I have shown a vlookup, but you can see that it gets messy when the table changes size. And this is likely to be the case since i love the use of slicers to filter the data.
I would appreciate your collective suggestion on how best to present this information, is the pivot is not the right tool, or is there another way of doing this?
I am using MS Excel 2013.
Your help is appreciated in advance!
 

Attachments

  • Chandoo Question Text fields in Pivots.xlsx
    16.2 KB · Views: 0
Hi ,

I don't see anything messy in using VLOOKUP.

See the attached file.

Narayan
 

Attachments

  • Chandoo Question Text fields in Pivots1.xlsx
    16.1 KB · Views: 0
Hi ,

I don't see anything messy in using VLOOKUP.

See the attached file.

Narayan
Thanks Narayan,
Yes, cleaning up the errors does make it look neater!
Just wondering, what happens when the text in the notes is long as spans over the height of two cells. Is there a clever way to size and resize the cells everytime the filter is changed so that the table looks compact.
 
Back
Top