• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1893
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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