plotting a chart with positive only numbers

omri

Board Regular
Joined
Jan 25, 2003
Messages
80
Appreciate feedback on "iffing" a chart.
e.g. do not plot (or display) negative numbers.
Doable?
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
One way is to AutoFilter the list and custom filter for values greater than zero. The chart will then only plot the visible cells.
 
Upvote 0
...if the Tools | Options... menu command's "Plot visible cells only" option (found on the Chart tab) is checked.
 
Upvote 0
Thanks but,
I am obviously doing something wrong. I have one row with data (#NUM!, negative, 0 or positive).
Autofiltered the row. Then, tried to custom by using "is greater than" and typed "0" in the box to the right.
Nothing happens. ?
 
Upvote 0
Option 1: Double-click the y-axis. In the scale tab, set the min. value to zero.

Option 2: In the row below the one with the data, add the formula =IF({cell-above}>=0,{cell-above},NA()). Plot this second row.

Option 3: Do the same as (2) but use a named formula.
 
Upvote 0
For an example of a named formula, check the 'Dynamic Charts' page of my web site.
 
Upvote 0

Forum statistics

Threads
1,220,438
Messages
6,153,900
Members
451,177
Latest member
zerozero1

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