Solved

Pivot table with text

Posted on 2014-04-18
2
200 Views
Last Modified: 2014-04-18
Folks,
In my data set the third column is Explanation where some text can be entered. The first column is a data. Is it possible to show the text that a person entered for any given date on the same line?
0
Comment
Question by:Frank Freese
2 Comments
 
LVL 81

Accepted Solution

by:
byundt earned 500 total points
ID: 40009764
You can certainly use a formula outside the PivotTable to return the desired information. And you can record a macro to clear the formula and insert a new one when the PivotTable is refreshed.

In the sample workbook, columns H:J use an array-entered formula what is somewhat slow to recalculate, but which can return a second and third explanation for a given date. Copy the formula to the right if you need to return more possible explanations.
=IFERROR(INDEX(Table1[Explanation],SMALL(IF(Table1[Date]=$F2,ROW(Table1[Date])-ROW(Table1[#Headers]),""),COLUMNS($H2:H2))),"")

Column K uses an INDEX & MATCH formula that is fast, but only returns the first explanation for each date.
=INDEX(Table1[Explanation],MATCH(F2,Table1[Date],0))
PivotTableExplanationsQ28415800.xlsx
0
 

Author Closing Comment

by:Frank Freese
ID: 40009924
appreciate it! thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question