how to best summarize this in a pivot table?

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
843
Office Version
  1. 2013
Platform
  1. Windows
ProvincePostal CodeShipping Net
OntarioM4M 1L4$3
OntarioM4M 1X5-1
OntarioM4M 3Z7-50
BCY3L 1Z4-30
BCY3L 1X5-300
BCY3L 1M9-700

<tbody>
</tbody>


I have about 200K rows of transactions, to a whole set of postal codes. I'm trying to figure out which postal codes in which provinces are causing the biggest issues.

If I create a pivot table and put Province then Postal Code in the rows section, I get 1600 lines. Which is hard to get meaningful data from. I've put the Shipping Net (ie whether Shipping is profitable or making losses) in Values, and I'd like to filter the values. Either the bottom 10% or anything with losses of $2K or more. Is there a way to do this?

To clarify, I don't want just the top 10% of losses, since those could all belong to one province. I want the top 10% in each province.

I'd be grateful for any advice!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Upvote 0
Thank you so much! So kind of you to go to all that trouble :)

So it seems like the key point was to do the pivot in Tabular Form?



Hi, top or bottom 10 or 2 in the example below (not percent) can be attained using filter on Postal Code for top or bottom 10 this will yield you below results.

https://drive.google.com/open?id=1ZtQu9gsfex-xSAxtVqDjiWtfJl2N5bPK

https://drive.google.com/open?id=1maChFBRmYHds9zGkwKTVXCxn7mjcoarq

https://drive.google.com/open?id=1LmzfHJD_brtHLIzJnYNQdgKDX9t3bu9L

Hope this helps
 
Upvote 0
It should work in compact form also, key was putting filter on postal code column.

Glad could help and thanks for the feedback :)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,477
Messages
6,125,037
Members
449,205
Latest member
Eggy66

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