Solved

Excel Number Formatting

Posted on 2014-07-21
7
295 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 52

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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

627 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