Solved

Excel Number Formatting

Posted on 2014-07-21
7
285 Views
Last Modified: 2014-09-15
I have attached a simple graph that includes two ranges of data -- a profit column, and a loss column, that I am plotting on a chart fine. The only issue is that I don't want $0.00 values appearing on the chart.

How do I format the number labels (or the result in the profit and loss columns) such that $0.00 labels don't appear on the chart?

Thanks.
AAAAA.xlsx
0
Comment
Question by:Cactus1994
7 Comments
 
LVL 19

Expert Comment

by:Montoya
ID: 40209921
Here's an article that gives you several methods. Hope it helps

http://www.techrepublic.com/article/how-to-suppress-0-values-in-an-excel-chart/
0
 

Author Comment

by:Cactus1994
ID: 40209982
Unfortunately, none of the basic formatting suggestions worked in your link, and I was familiar with all of them, including 0,0;;; and na() formatting. If you apply those suggestions to my chart, it does not eliminate the $0.00 figures.

This seems to be a bit of a unique formatting issue, as I need to retain negative numbers as well as the $ currency format.
0
 
LVL 49

Expert Comment

by:Rgonzo1971
ID: 40210018
Hi,

I have changed the format of the labels to

"$"# ##0,00;[Red]"$"# ##0,00;""

Regards
AAAAAv1.xlsx
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40210029
Hi Cactus,

In Excel 2010/2013, you can change the formatting of negative values in a bar chart.  This means you won't need separate data sets to plot the profit/loss.
Format data - invert if negative
The attached file is a modified version of your example; it has only one Profit/Loss column and plots the negative values in red.

Regards,
-Glenn
EE-AAAAA.xlsx
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40210036
Just saw your comment about needing to preserve the currency format (red in parenthesis if negative), so I updated the example file.  The data series number formtting is "linked to source".

-Glenn
EE-AAAAA.xlsx
0
 

Author Comment

by:Cactus1994
ID: 40210067
Ugh -- you're both on the right track, but I didn't mention I'm using Excel for Mac, which seems to be significant here.

Excel for Mac also allows to "invert if negative" as you noted, but it seemingly doesn't allow formatting the inverted color. Instead of a shade of red for the negative values, when I click to invert it returns a white bar with a thick black border.

Any ideas? Subconsciously, perhaps that's why I remember I needed to put in two columns -- one for profit, one for loss, and include and format them each individually. I still can't eliminate the $0.00 values however.
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 500 total points
ID: 40210344
Sounds like you're experiencing the same issue that plagued users of Excel 2007 with this.

Jon Peltier addressed this in his blog and it sounds like you can use the gradient option - tweaked - to resolve this.
http://peltiertech.com/WordPress/invert-if-negative-excel-2007/

So, when you opened my example file, the negative values were white rectangles?

-Glenn
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now