pivot....urgent

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi
it's tricky to explain my problem
but i'll try
1) i am pupolating a sheet with a text file which contains(sheet1)
2) some catagories in numeric form
e g 1 for apple 2 for bannana etc
3) i have a these descriptions on another sheet(sheet2)
4) with sheet1 i create a pivottable which contains these catagories in
colunms
i want to use data on sheet2 as list to correctly display the descriptions
of those catagories.
how am i to acieve this?
 
On Sheet1, use a vlookup formula to return the text value for each
category, e.g.:
=VLOOKUP(A2,LookupTable,2,0)
where LookupTable is the table on Sheet2.

Include the column of text values in the source range for the pivot
table, and add the text field to the pivot table's row area.
 
create an adjacent column that uses the Vlookup worksheet formula.

If you want it to be dynamic as the user manipulates the pivot table
dropdowns, then you would have to write code to reapply the formulas although
I am not sure there is an event triggered when the pivot table selections are
made - so it might be delayed.
 
As Debra said, adding the Vlookup column to the source data for the Pivot
Tabel would solve the dynamic change problem without using an event macro.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top