Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8
Default Expression for Blank Spaces

I have an Excel line graph that I update weekly. Column "A" with the weekly
date, and "B" with the data. There are two more columns in the sheet, "C"
with an 'if' formule that depends on the data in Col "B" and "D" with a
weekly percentage increase of an index. Col "D" is extended out for an extra
100 weeks; the graph and the x axis accomodates that. If I do not extend the
Col "C" formula out, line graph for C stops as desired, however, if I expend
out the Col "C" formula, the line drops to the x axis, making the the entire
graph very unattarctive.
The { if } statement reads as follows:{{ If(Col A = blank), Col C = blank,
Col B/constant}}. I use the expression " " to represent the blank.
Apparently in Col "C", Excel reads that as somthing equivalent to 0 and sends
the line to the x axis. Are there any suggestions for some other expression
that can be used to instead of " " to represent a true blank space????
I have used this method and formula for the past 15 years with a version of
Quattro Pro (DOS) and it has worked well there. It probably will not be long
before all DOS applications become extinct, so I would like to convert to
Excel.
Thanks for any help.



  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Expression for Blank Spaces

"" is interpreted as text, which is plotted as zero. Use NA() instead, which
returns an error, #N/A, in the cell, but which is ignored by line and XY
charts. Use conditional formatting to hide the error if necessary.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"dsears" wrote in message
...
I have an Excel line graph that I update weekly. Column "A" with the
weekly
date, and "B" with the data. There are two more columns in the sheet, "C"
with an 'if' formule that depends on the data in Col "B" and "D" with a
weekly percentage increase of an index. Col "D" is extended out for an
extra
100 weeks; the graph and the x axis accomodates that. If I do not extend
the
Col "C" formula out, line graph for C stops as desired, however, if I
expend
out the Col "C" formula, the line drops to the x axis, making the the
entire
graph very unattarctive.
The { if } statement reads as follows:{{ If(Col A = blank), Col C = blank,
Col B/constant}}. I use the expression " " to represent the blank.
Apparently in Col "C", Excel reads that as somthing equivalent to 0 and
sends
the line to the x axis. Are there any suggestions for some other
expression
that can be used to instead of " " to represent a true blank space????
I have used this method and formula for the past 15 years with a version
of
Quattro Pro (DOS) and it has worked well there. It probably will not be
long
before all DOS applications become extinct, so I would like to convert to
Excel.
Thanks for any help.





  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8
Default Expression for Blank Spaces

Thanks--it worked very well.

DSC

"Jon Peltier" wrote:

"" is interpreted as text, which is plotted as zero. Use NA() instead, which
returns an error, #N/A, in the cell, but which is ignored by line and XY
charts. Use conditional formatting to hide the error if necessary.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"dsears" wrote in message
...
I have an Excel line graph that I update weekly. Column "A" with the
weekly
date, and "B" with the data. There are two more columns in the sheet, "C"
with an 'if' formule that depends on the data in Col "B" and "D" with a
weekly percentage increase of an index. Col "D" is extended out for an
extra
100 weeks; the graph and the x axis accomodates that. If I do not extend
the
Col "C" formula out, line graph for C stops as desired, however, if I
expend
out the Col "C" formula, the line drops to the x axis, making the the
entire
graph very unattarctive.
The { if } statement reads as follows:{{ If(Col A = blank), Col C = blank,
Col B/constant}}. I use the expression " " to represent the blank.
Apparently in Col "C", Excel reads that as somthing equivalent to 0 and
sends
the line to the x axis. Are there any suggestions for some other
expression
that can be used to instead of " " to represent a true blank space????
I have used this method and formula for the past 15 years with a version
of
Quattro Pro (DOS) and it has worked well there. It probably will not be
long
before all DOS applications become extinct, so I would like to convert to
Excel.
Thanks for any help.






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
Remove trailing spaces from multiple columns in Excel dcaissie Excel Worksheet Functions 8 May 16th 08 08:21 PM
Spaces in cells Brian Excel Worksheet Functions 1 August 2nd 06 06:17 AM
spaces not recognized as spaces windsurferLA Excel Worksheet Functions 9 July 27th 06 11:49 AM
Stripping out imbedded spaces in a cell/row Tom Excel Worksheet Functions 8 April 22nd 05 03:49 PM
Can Excel represent formula in textural format with values substi. BoneR Excel Worksheet Functions 7 March 31st 05 03:11 PM


All times are GMT +1. The time now is 03:12 AM.

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"