Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nick
 
Posts: n/a
Default How do I convert functions that are zero into a null ?

I have a sales worksheet that totals monthly from January thru December.

I plot the summary sales by month in a simple line chart.

The problem is that since the year is not completed, the line chart drops
off to zero for the month that total zero which makes it look like a sales
decline. I would like to make it just stop plotting at the last month with
sales.

I can do this manually by deleting the totals for each month but I would
prefer to use some kind of an "IF" statement and a "NULL" value but am unable
to find the correct mix.

Any ideas ? Thanks In advance. Nick.
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

To get the equivalent of a null value in a chart you can use

=IF(cell=0,NA(),cell)



Regards,

Peo Sjoblom

"Nick" wrote:

I have a sales worksheet that totals monthly from January thru December.

I plot the summary sales by month in a simple line chart.

The problem is that since the year is not completed, the line chart drops
off to zero for the month that total zero which makes it look like a sales
decline. I would like to make it just stop plotting at the last month with
sales.

I can do this manually by deleting the totals for each month but I would
prefer to use some kind of an "IF" statement and a "NULL" value but am unable
to find the correct mix.

Any ideas ? Thanks In advance. Nick.

  #3   Report Post  
Nick
 
Posts: n/a
Default

This worked great

Also, how can I test for a cell with an NA or #N/A value with an IF function ?

"Peo Sjoblom" wrote:

To get the equivalent of a null value in a chart you can use

=IF(cell=0,NA(),cell)



Regards,

Peo Sjoblom

"Nick" wrote:

I have a sales worksheet that totals monthly from January thru December.

I plot the summary sales by month in a simple line chart.

The problem is that since the year is not completed, the line chart drops
off to zero for the month that total zero which makes it look like a sales
decline. I would like to make it just stop plotting at the last month with
sales.

I can do this manually by deleting the totals for each month but I would
prefer to use some kind of an "IF" statement and a "NULL" value but am unable
to find the correct mix.

Any ideas ? Thanks In advance. Nick.

  #4   Report Post  
Nick
 
Posts: n/a
Default

Once again, thanks for your fast and accurate answer

In regards to my reply about the ISNA() function, please ignore ... I was
using the incorrect syntax.

Best Regards,
Nick

"Peo Sjoblom" wrote:

To get the equivalent of a null value in a chart you can use

=IF(cell=0,NA(),cell)



Regards,

Peo Sjoblom

"Nick" wrote:

I have a sales worksheet that totals monthly from January thru December.

I plot the summary sales by month in a simple line chart.

The problem is that since the year is not completed, the line chart drops
off to zero for the month that total zero which makes it look like a sales
decline. I would like to make it just stop plotting at the last month with
sales.

I can do this manually by deleting the totals for each month but I would
prefer to use some kind of an "IF" statement and a "NULL" value but am unable
to find the correct mix.

Any ideas ? Thanks In advance. Nick.

  #5   Report Post  
Gord Dibben
 
Posts: n/a
Default

Nick

Check out a dynamic range for the series that will stop at last data and
ignore "" cells.

Tushar Mehta has methods.

http://www.tushar-mehta.com/excel/ne...rts/index.html

Also Jon Peltier's site.

http://peltiertech.com/Excel/Charts/index.html#hdrDyno


Gord Dibben Excel MVP

On Wed, 11 May 2005 14:08:05 -0700, "Nick" <Nick @discussions.microsoft.com
wrote:

I have a sales worksheet that totals monthly from January thru December.

I plot the summary sales by month in a simple line chart.

The problem is that since the year is not completed, the line chart drops
off to zero for the month that total zero which makes it look like a sales
decline. I would like to make it just stop plotting at the last month with
sales.

I can do this manually by deleting the totals for each month but I would
prefer to use some kind of an "IF" statement and a "NULL" value but am unable
to find the correct mix.

Any ideas ? Thanks In advance. Nick.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CONVERT Function Disappered in Excel Gord Dibben Excel Discussion (Misc queries) 3 April 13th 05 07:59 PM
how to update functions in excel sheet? Inass Excel Worksheet Functions 1 February 22nd 05 05:14 PM
# of Functions per cell SUB-ZERO Excel Worksheet Functions 3 January 23rd 05 10:35 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM


All times are GMT +1. The time now is 10:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"