Pivot table conditional filtering?

KimberlyWelty

New Member
Joined
May 10, 2016
Messages
21
I am not sure that a pivot table is the best way to do this or not, so looking for a suggestion. I also thought a slicer might work, but not sure how to do this.
I have a list of customers in a database with revenue. In that same database, there are multiple locations.
I am trying to figure out how to easily pull the following information:
- The customer revenue when they have revenue in multiple locations - though with one location specifically + any other location.
- The customer revenue when they have revenue in multiple locations - though without one location specifically.

Here is some sample data, there are more columns of information such as year, month, etc.

1) I want to be able to quickly show all customers revenue by location but only show the customer and the detail by location, if they have revenue from Location 2
2) I also need to be able to quickly show all customers revenue by location but only if they do not have revenue from Location 2.

Note; the data file has almost 400,000 rows of data and 42 columns as well. Any suggestions would be greatly appreciated.

1721160875049.png
 

Attachments

  • 1721160758838.png
    1721160758838.png
    6.6 KB · Views: 19

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,223,770
Messages
6,174,433
Members
452,563
Latest member
mvdk

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