[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Pivot table with text

Posted on 2014-04-18
2
Medium Priority
?
211 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 2000 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

Independent Software Vendors: 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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

834 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