Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1729
  • Last Modified:

Reverse sign - condtionally - on numbers in Excel pivot table

How do you reverse the signage on a number in a pivot table - based upon some condition.

Crystal Reports has a simple reverse sign display, and you can create a condition for that formatting. I was hoping for something this simple.

Everything I have researched on the internet discusses multiplying by -1..... however that changes the integrity of the number - and would be overwritten if you were to paste the values.

In a pivot table, you need to add numbers based upon the actual signage..... however for financial statements, you would show expenses/COGS as positive numbers, even though they are subtracted in the calculation.
0
cpv
Asked:
cpv
  • 2
  • 2
1 Solution
 
msd1305Commented:
If you just want to display negative number without the minus sign then you can do as following.

Drag your field on the report.
Right Click -> Click on "Format Field"
Go to "Number" Tab
Click on "Customize"
Go to "Number" tab
Go to the option "Negatives"
Select "None" from the dropdown
0
 
cpvAuthor Commented:
What version of Excel are you referring to?  This is 2007..... when I right click on the field in question, I can go to 'Value Field Settings', > Number Format > There is a Custom or Special, but not Customize.
0
 
msd1305Commented:
sorry.. I thought the question was about crystal report. Anyways, evenin excel you can achieve this.

Right click on cells-> Format Cells->select Nuber tab->select Number category-> now on right handside you will see a box for "Negative Numbers:" -> select 2nd option in this. which is 1234 in red color.

This way it will no display the sign but negative numbers will be displayed in red color.

will this serve your purpose??!!!
0
 
cpvAuthor Commented:
No actually, I found a different way... although cumbersome.....  I went into the Number tab, and custom, and created a created a mask that showed negative numbers first, and postive second..... I then was able to highlight the COGS and Expense sections in the P&L and formatted with that method..... it is kludgy, but worked.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now