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: 12

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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