Set Conditions on Chart data

  • Thread starter Thread starter Wardy1
  • Start date Start date
W

Wardy1

Hi, if anyone has an answer to this I would be most greatful.

I have constructed serveral charts, each with its own range of data.
Within the data range for each chart the cells contain formulas (an if
formula), to allow those months of the year not yet populated with data
to remain blank. However my chart is treating the formulas as zero's
and plotting them on the chart making it look odd (ie the data suddenly
falls to 0 with a long line from the last data point).

I have tried setting the 'Chart' settings to 'plot visible cells only'
under the 'Options' menu. But this does not alter the chart.

I'm trying to find some syntax in Visual basic to maybe set a macro to
tell it not to treat the formulas as cell population!!!

Any ideas??

Many thanks

Wardy
XX
 
Wardy1 said:
Hi, if anyone has an answer to this I would be most greatful.

I have constructed serveral charts, each with its own range of data.
Within the data range for each chart the cells contain formulas (an if
formula), to allow those months of the year not yet populated with data
to remain blank. However my chart is treating the formulas as zero's
and plotting them on the chart making it look odd (ie the data suddenly
falls to 0 with a long line from the last data point).

I have tried setting the 'Chart' settings to 'plot visible cells only'
under the 'Options' menu. But this does not alter the chart.

I'm trying to find some syntax in Visual basic to maybe set a macro to
tell it not to treat the formulas as cell population!!!

Any ideas??

Many thanks

Wardy
XX

Hi Wardy

Instead of blank get your IF statement to return #N/A, they will then
not show on the chart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top