Solved

Pivot table with text

Posted on 2014-04-18
2
203 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

707 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