is there a way to make a pivot table show only negative values *in all fields* ?

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
840
Office Version
  1. 2013
Platform
  1. Windows
I have a pivot table where I'm trying to find all the losses. So I'm seeing all the values, where 80% are positive, but I only care about the negative ones. Is there a way to show only negative values? Please note, this isn't just in the grand total column - I want this in the entire grid.

For example

Province5km10km15km20km
Alberta$500-$30$200$100
BC-$20$1000$1000$1000
Ontario$400$400-$200$0

<tbody>
</tbody>


That's a lot of #s to go through. I only care about the negative ones, which is 3 out of 12. Is there a way to just show those?
 
Last edited:

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
This may be an option.

- Select the cells inside the pivot table (all of values).
- On the Home tab, in the Number group, click More Number Formats at the bottom of the Number Format list (General). Or select Format, Format cells.
- In the Format Cells dialog box, under Category, click Custom.
- In the Type box type:
;-0;
- Press ok.

a3ba920ecb8ccebafada6670b928b711.jpg
 
Upvote 0
Thanks!

With this solution I'm guessing this shows only negative values and the positive values show up as empty. What I actually wanted (and I apologize, I wasn't clear) would be for only the relevant rows to be shown. So in the example above I'd like the BC row to not be shown at all since nothing in there is negative.

Is there a way to do that?

EDIT - sorry, I see that BC actually does have a negative value. Let's imagine it doesn't. In that case I'd want that row to be hidden / filtered out.
 
Last edited:
Upvote 0
an idea: in an auxiliary column, put the formula if the min (of all the columns in that row) is> = 0, then 1, otherwise 0. add the auxiliary column to the pt and filter the 1.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,514
Messages
6,114,078
Members
448,547
Latest member
arndtea

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