Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-15-2015, 12:35 PM
canajun canajun is offline Filtering (advanced?) in Pivot Table Windows 7 32bit Filtering (advanced?) in Pivot Table Office 2010 32bit
Novice
Filtering (advanced?) in Pivot Table
 
Join Date: Dec 2014
Posts: 10
canajun is on a distinguished road
Lightbulb Filtering (advanced?) in Pivot Table

I'm not sure how to word my request, other than showing what I want to accomplish usinf an example (see attached Excel spreadsheet with data). My data consists of 2 columns, year and site. If I filter on the year, I do not want the Grand Total for that specific year rather I want all the Grand Total for all years in which a specific site appears. I've attached the spreadsheet that contains the data. I appreciate your consideration of my question.

(My examples containing tables did not display in text. Examples are provided in attached excel file.)
Attached Files
File Type: xlsx Manipulate data in pivot table.xlsx (16.4 KB, 10 views)

Last edited by canajun; 01-15-2015 at 12:41 PM. Reason: Examples did not appear correctly
Reply With Quote
  #2  
Old 01-15-2015, 01:48 PM
gebobs gebobs is offline Filtering (advanced?) in Pivot Table Windows 7 64bit Filtering (advanced?) in Pivot Table Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Sample sheets are usually the best way to start off.

But let me see if I understand. Rather than 5, 2, 3 that the filtered pivot gives for total now, you want 6, 10, 8 which are the totals for the unfiltered report. Is that right?

Since you are filtering for year, e.g. 2015, the other data are effectively invisible so I don't think you can get a total like that with the pivot. However, there may be more than one way to skin that cat.
Reply With Quote
  #3  
Old 01-15-2015, 02:06 PM
canajun canajun is offline Filtering (advanced?) in Pivot Table Windows 7 32bit Filtering (advanced?) in Pivot Table Office 2010 32bit
Novice
Filtering (advanced?) in Pivot Table
 
Join Date: Dec 2014
Posts: 10
canajun is on a distinguished road
Default

Thank you gebobs. You are correct. I would like to display 6, 10, 8 when I select year 2015. In my subsequent query, I'd like to filter for year 2016 and but not include site 1Y (row 1Y removed) since it was already included in year 2015.

As for sample sheets, I tried to include them as tables in the text of this message but tables do not retain the formatting (I think). I did not submit as an image because I do not know how to link the image to a url. So I was stuck sending the spreadsheet as an attachment with the samples illustrated in the spreadsheet.
Reply With Quote
  #4  
Old 01-15-2015, 03:41 PM
gebobs gebobs is offline Filtering (advanced?) in Pivot Table Windows 7 64bit Filtering (advanced?) in Pivot Table Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

What are you trying to accomplish here? There may be other ways to do what you want but probably not with pivot tables.
Reply With Quote
  #5  
Old 01-15-2015, 09:35 PM
canajun canajun is offline Filtering (advanced?) in Pivot Table Windows 7 32bit Filtering (advanced?) in Pivot Table Office 2010 32bit
Novice
Filtering (advanced?) in Pivot Table
 
Join Date: Dec 2014
Posts: 10
canajun is on a distinguished road
Default

Thank you for your patience. Here's my attempt at a written explanation:

Each row is an instance of a valve test requiring performance at a site. Currently the testing is very haphazard. The goal is to combine all valve testing for one site in a single year. The testing can be moved ahead (from 2017 to 2015) but testing cannot be postponed. I then want to be able to distribute the testing relatively evenly among a 5 year test interval (approximately 14 per year using the sample data in the attached spreadsheet). Because distributing the testing will take some finagling and shifting things around, I wanted a simple (but elegant) way for my boss to look at the data to pick and choose how he wants to consolidate the testing.
Of course, my actual dataset is much larger than the one provided.
Reply With Quote
  #6  
Old 01-15-2015, 10:21 PM
canajun canajun is offline Filtering (advanced?) in Pivot Table Windows 7 32bit Filtering (advanced?) in Pivot Table Office 2010 32bit
Novice
Filtering (advanced?) in Pivot Table
 
Join Date: Dec 2014
Posts: 10
canajun is on a distinguished road
Default

My not so elegant solution: I filtered all rows by year 2015. I then copied the list of filtered sites in year 2015 and pasted on another sheet; selected 'remove duplicates'. I then had a manageable list of sites. I went back to my spreadsheet, removed the 2015 year filter. Then I filtered by site, selecting the sites I retrieved by removing duplicates. I then selected visible cells (F5, special) and applied a text color for all visible rows. I then selected sites with automatic color, then filtered with year 2016, got my list of sites, and applied a different text color. By using this approach, I can probably make do.
Reply With Quote
  #7  
Old 01-17-2015, 05:01 AM
gebobs gebobs is offline Filtering (advanced?) in Pivot Table Windows 7 64bit Filtering (advanced?) in Pivot Table Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Very good. Always more than one way to get around a problem!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Help asluder2000 Excel Programming 0 11-10-2014 09:28 PM
Pivot Table Question- Can the table display in the order the boxes were checked/selected? blackjack Excel 0 09-13-2014 08:57 PM
Filtering (advanced?) in Pivot Table pivot table aliasadi_07 Excel 1 03-11-2012 12:49 AM
Filtering (advanced?) in Pivot Table Help with a pivot table please! natsha Excel 1 02-16-2012 12:41 PM
Filtering (advanced?) in Pivot Table Pivot Table Karen615 Excel 5 08-03-2011 10:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft