#1
|
|||
|
|||
Multiple Label Criteria - Pivot Table
Greetings Friends, Below shown is part of a pivot table. The data range is actually huge to the range of 58,000 plus records. These are call center data spooled from the server to excel. Now, I need to filter only those in the labels that end with:- FORD JLR FM POC FER MAS How do I go about doing so? Can this be accomplished easily via some VBA method other than on a pivot. Kindly refer attachment for the pivot table Last edited by philipq; 10-21-2014 at 08:01 AM. Reason: Attachment |
#2
|
||||
|
||||
If you call L1 'Row Suffixes' and use the following formula in L2 and copy down, you can then filter on that column:
=RIGHT(A2,6-FIND("-",RIGHT(A2,6)))
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Hi Macropod,
Thank you for your response. Yes, you are correct. However, is multiple label or value filter (all in one shot) possible using a pivot? From my findings using the pivot interface it is not. I was thinking maybe the pivottable object might allow for it via programming. Best Regards, Philip Last edited by philipq; 10-26-2014 at 11:02 PM. Reason: missed a statement |
#4
|
||||
|
||||
I've rarely used pivot tables, so hopefully someone else can give more specific advice. I doubt, though, that even a VBA solution could avoid the need for a 'helper' column for the suffixes once it comes to actually generating the pivot table. Of course, if you add the equivalent formula to the data source you're generating the pivot from (yes, all 58,000 rows of it), or use a macro to generate the same output there, you could then generate the pivot table using the suffixes column instead of the labels column.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Quote:
1 - Does "-" always precede the suffix? 2 - do you want the selected records copied elsewhere or do you want the unselected ones hidden? Bruno |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copy Multiple Rows to new workbook when multiple criteria is met. | flds | Excel Programming | 5 | 09-30-2014 09:58 AM |
VBA Pivot Table CubeField Enable multiple items | Wries | Excel Programming | 0 | 03-13-2014 09:56 AM |
Pivot table auto print. For multiple values. | Nicholaspoe | Excel | 0 | 10-08-2013 09:08 PM |
Ranking with multiple criteria | angie.chang | Excel | 0 | 08-14-2012 04:49 PM |
Multiple criteria in SUMIF? | pumpkin head | Excel | 1 | 02-17-2006 09:06 AM |