Conditional formatting in charts

lisa131067

New Member
Joined
Aug 28, 2011
Messages
4
Hi I have an excel file which my predecessor created which has lots of tables and charts in. When I type an X in a certain cell it leaves the tables and charts in place but hides/does not show the chart bars and table data in them.

I am trying to recreate this conditional formatting in a new file but can't get it to work and the data in the charts wont disappear. I have worked out how to apply conditionaly formatting so the data in the tables is blanked out but the charts will not work. Please Does anyone know how I do it?

thanks a million Lisa
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
still stuck :-( just need to know how to conditionally format charts/chart data so entering a value in one cell turns chart visbility on/off
 
Upvote 0
We really have no way of knowing without seeing the workbook.

I suspect that VBA code may be involved. Right click the tab of a sheet containing charts and select View Code. Is there code? If so paste it in a reply to this thread.
 
Upvote 0
Hi there

thansk for your reply. Ive checked and theres no code at all. I need to find out how you apply conditionaly formatting to graphs as that's been done in this case so the data shows/doesnt show if a condition is satisfied. does that make sense?

thanks Lisa
 
Upvote 0
Your predecessor may have used the =NA() feature of most charts.

He probably created a chart area that looked at the data tables.

If there was a "X" then the chart area formula put this =if(a1="X",NA(),a1)

That way if there is no "X", show the data. If there is an "X", put in an NA() value which will not be plotted in the graph.

Hard to tell exactly without the file.

Steve=True
www.exceldashboardtemplates.com
 
Upvote 0

Forum statistics

Threads
1,224,559
Messages
6,179,515
Members
452,921
Latest member
BBQKING

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top