How to filter data in a Pivot Table when data is Sum

Lotus User

New Member
Joined
Jan 3, 2018
Messages
17
I have a fairly simple table that I have created a pivot table for. I can't seem to figure out how to filter the pivot table to only show certain data (excluding sub totals and totals). Here is a screen shot of the info(I have removed subtotals and totals): I need to filter the data to show anyone that has greater than 24hours in one day. When I create a filter on hours, it doesn't filter on the sum, it filters on the source so my largest option is 15 hours. Ultimately my goal is to sort pivot table hours and only show >24...which would be Jane....
[TABLE="width: 351"]
<colgroup><col width="64" style="width: 48pt;" span="4"> <col width="89" style="width: 67pt; mso-width-source: userset; mso-width-alt: 3254;"> <col width="61" style="width: 46pt; mso-width-source: userset; mso-width-alt: 2230;" span="2"> <tbody>[TR]
[TD="width: 64, bgcolor: #EEECE1"]Name[/TD]
[TD="width: 64, bgcolor: #EEECE1"]Date[/TD]
[TD="width: 64, bgcolor: #EEECE1"]Hours[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 89, bgcolor: transparent"][/TD]
[TD="width: 61, bgcolor: transparent"][/TD]
[TD="width: 61, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Jane[/TD]
[TD="bgcolor: transparent, align: right"]7/1/2019[/TD]
[TD="bgcolor: transparent, align: right"]15[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]John[/TD]
[TD="bgcolor: transparent, align: right"]7/1/2019[/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Hours[/TD]
[TD="bgcolor: transparent"](All)[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Joe[/TD]
[TD="bgcolor: transparent, align: right"]7/1/2019[/TD]
[TD="bgcolor: transparent, align: right"]4[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Mary[/TD]
[TD="bgcolor: transparent, align: right"]7/1/2019[/TD]
[TD="bgcolor: transparent, align: right"]3[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Sum of Hours[/TD]
[TD="bgcolor: transparent"]Date[/TD]
[TD="bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Mike[/TD]
[TD="bgcolor: transparent, align: right"]7/1/2019[/TD]
[TD="bgcolor: transparent, align: right"]9[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name[/TD]
[TD="bgcolor: transparent, align: right"]7/1/2019[/TD]
[TD="bgcolor: transparent, align: right"]7/2/2019
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Jane[/TD]
[TD="bgcolor: transparent, align: right"]7/1/2019[/TD]
[TD="bgcolor: transparent, align: right"]15[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Jane[/TD]
[TD="bgcolor: transparent, align: right"]30[/TD]
[TD="bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]John[/TD]
[TD="bgcolor: transparent, align: right"]7/2/2019[/TD]
[TD="bgcolor: transparent, align: right"]5[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Joe[/TD]
[TD="bgcolor: transparent, align: right"]4[/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Joe[/TD]
[TD="bgcolor: transparent, align: right"]7/2/2019[/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]John[/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent, align: right"]5[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Mary[/TD]
[TD="bgcolor: transparent, align: right"]7/2/2019[/TD]
[TD="bgcolor: transparent, align: right"]7[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Mary[/TD]
[TD="bgcolor: transparent, align: right"]3[/TD]
[TD="bgcolor: transparent, align: right"]7[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Mike[/TD]
[TD="bgcolor: transparent, align: right"]7/2/2019[/TD]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Mike[/TD]
[TD="bgcolor: transparent, align: right"]9[/TD]
[TD="bgcolor: transparent, align: right"]2[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Maybe with an auxiliary column and the following formula.

<table border="1" cellspacing="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:76.04px;" /><col style="width:76.04px;" /><col style="width:76.04px;" /><col style="width:76.04px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td><td >D</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="background-color:#92d050; font-weight:bold; text-align:center; ">Name</td><td style="background-color:#92d050; font-weight:bold; text-align:center; ">Date</td><td style="background-color:#92d050; font-weight:bold; text-align:center; ">Hours</td><td style="background-color:#92d050; font-weight:bold; text-align:center; ">sum x day</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td >Jane</td><td style="text-align:right; ">07/01/2019</td><td style="text-align:right; ">15</td><td style="text-align:right; ">1</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td >John</td><td style="text-align:right; ">07/01/2019</td><td style="text-align:right; ">8</td><td style="text-align:right; ">0</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td >Joe</td><td style="text-align:right; ">07/01/2019</td><td style="text-align:right; ">4</td><td style="text-align:right; ">0</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td >Mary</td><td style="text-align:right; ">07/01/2019</td><td style="text-align:right; ">3</td><td style="text-align:right; ">0</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td >Mike</td><td style="text-align:right; ">07/02/2019</td><td style="text-align:right; ">9</td><td style="text-align:right; ">1</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td >Jane</td><td style="text-align:right; ">07/01/2019</td><td style="text-align:right; ">15</td><td style="text-align:right; ">1</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td >John</td><td style="text-align:right; ">07/02/2019</td><td style="text-align:right; ">5</td><td style="text-align:right; ">0</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td >Joe</td><td style="text-align:right; ">07/02/2019</td><td style="text-align:right; ">8</td><td style="text-align:right; ">0</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td >Mary</td><td style="text-align:right; ">07/02/2019</td><td style="text-align:right; ">7</td><td style="text-align:right; ">0</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td >Mike</td><td style="text-align:right; ">07/02/2019</td><td style="text-align:right; ">16</td><td style="text-align:right; ">1</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b></b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >D2</td><td >=IF(SUMIFS($C$2:$C$11,$A$2:$A$11,A2,$B$2:$B$11,B2)>20,1,0)</td></tr></table></td></tr></table>

Filter as follows:
fcb5d9a6de2860215dcdd73f3555954e.jpg
 
Upvote 0
LOL sorry for the short response and no feedback yesterday. I had terrible connectivity issues yesterday and it took an insane amount of time just to stay. connected log enough to say thank you! Your formula works great. I don't need to create a pivot table and filter to get the data I need. I can just filter the data in the table...saves me a step.

thanks again!
 
Upvote 0
Don't worry, I'm glad to know that the solution worked for you.
Have a nice day;)
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,115
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top