Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2010, 07:38 AM
thorgal67 thorgal67 is offline Graphs: how to stop displaying a value Windows XP Graphs: how to stop displaying a value Office 2003
Novice
Graphs: how to stop displaying a value
 
Join Date: Apr 2009
Posts: 8
thorgal67 is on a distinguished road
Default Graphs: how to stop displaying a value

When creating a graph, I have the following problem:



My graph shows the values for the individual months. However, for the last month (December) the value is still 0 since the month is not over. The value is calculated by multiplying the number of items with the price. Since no items have been registered, the value will aways be 0 as long as the month is not over.

If I make my graph including the month of December, there is a sharp decline in December (zero). Of course i can exclude the month of december in my range, but that is a waste of time as I will have to include it again at the end of December.

Is there a way to tell Excel not to display a zero in a graph? Or an alternative?
Reply With Quote
  #2  
Old 12-15-2010, 12:06 PM
BjornS BjornS is offline Graphs: how to stop displaying a value Windows Vista Graphs: how to stop displaying a value Office 2003
Competent Performer
 
Join Date: Jan 2010
Location: Sweden
Posts: 116
BjornS is on a distinguished road
Default

Hi,
here is a solution:

Assume the cells used for the chart has the following formula:
= C3*D3

Then change this into =if(C3=0,NA(),;C3*D3)

This will cause a "missing"-sign in the december cell, and the graph will not show this value at all.

I hope I got it right above with translation of commands from my Swedish Excel version into English.

Kind regards
Bjorn
Reply With Quote
  #3  
Old 12-17-2010, 07:59 AM
thorgal67 thorgal67 is offline Graphs: how to stop displaying a value Windows XP Graphs: how to stop displaying a value Office 2003
Novice
Graphs: how to stop displaying a value
 
Join Date: Apr 2009
Posts: 8
thorgal67 is on a distinguished road
Default

Thanks Bjorn,

I had to edit the formula a bit since the Swedish version is a bit different from the Belgian one that we use.

In our Belgian version the correct formula is If(C3=0;#N/A;C3*D3)

Furthermore, although the line will no longer be visible in the graph, there will still be an ugly "#N/A" visible in my data. This I remove by using a Conditional formatting : Formula is =ISERROR(B2) and say that the format to use is a white background. That way the white background will hide the data.

Thanks again for your help
Reply With Quote
Reply

Tags
graphics

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking of graphs to word - no color when printing Sindre Word 0 10-05-2010 04:45 AM
Embedded Excel Graphs - Custom Formatting Cody Drawing and Graphics 0 07-02-2010 02:30 PM
Graphs: how to stop displaying a value Linking graphs from excel Markc PowerPoint 2 05-11-2010 02:17 AM
Linked graphs printing wrong color StaffsLebowski Word 0 12-15-2009 08:44 AM
Graphs: how to stop displaying a value help to convert swf to avi for displaying in ppt? Frederick PowerPoint 1 09-13-2009 08:10 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft