![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 4
|
Having real problems with representing blank data in line charts. Need standard line graphs but when there is no data for a particular x axis point I want the line to break and I don't want the line dropping to zero. Does anyone know a way I can represent the blank data without deleting the formula that brings back the blank cell.
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
|
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 255
|
I have the same problem - I tried the suggestion below and it didn't work. I have three data series, and wanted the spreadsheet to have NA where there was no data, can't seem to figure out another way.
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 255
|
The graph consistes of three series:
1. Data values which are formulas to copy data from other spreadsheets. These formulas currently return "NA" if there is no data on the other spreadsheet. 2. The second and third data series are formulas which refer to #1. I had originally had the formulas return "NA" if #1 was "NA"(istext). When I did this, these points "zeroed out" on the graph. I changed the formulas to be simple formuls (now return "#VALUE!"). This works fine, but the spreadhseet is messy. I can live with this, but would prefer to clean it all up. |
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
If you use a formula of the form: =IF(LEN(A1),A1,#N/A) zeroes will not show up in the graphs. If you don't like the sight of #N/A's, you can whiten them using conditional formatting. Aladin |
|
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 255
|
Just simple formulas:
=($c$51+(0.31*$g$51)) I'm not that familiar with the format suggested, but will look into it. Can you exlain what it means? [ This Message was edited by: nancyo on 2002-05-02 07:18 ] |
|
|
|
|
|
#8 |
|
New Member
Join Date: May 2002
Posts: 4
|
Ta Aladin, works a treat
|
|
|
|
|
|
#9 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Board Regular
Join Date: Mar 2002
Location: Massachusetts, USA
Posts: 255
|
No, both c51 and g51 are formulas which return NA if there is no data, or else they return an average on a column of values.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|