Wikipedia:Reference desk/Archives/Computing/2024 August 1

Computing desk
< July 31 << Jul | August | Sep >> Current desk >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


August 1

edit

Tweaking the "Format Axis" options in Excel

edit

If you have a chart or pivot chart in Excel, you can double click on the X axis to bring up a pane that gives you all kinds of formatting options, including setting minimum and maximum bounds for the graph. So, you can set the maximum value to be $1,000 and any values that go above that either don't display or are cut off (depending on the chart type). My problem is that, I need to set such a maximum, but I want it to truly act like a maximum value instead of a set number. Like, if the user's choice of filters means that the chart never comes near the boundary I set, then the upper and lower limits should behave dynamically. Is there a way to do that?
If that's hard to picture, here's an example: we sell 10-20 apples and 200-300 oranges each month, so the monthly totals are mostly around 250 or so. But one month we had a crazy value: we sold 10,000 oranges. The chart is unreadable if we leave the defaults in, so we set a maximum value of, say, 350. Now we can read it. But if the user selects "apples" from the filter, the graph becomes unreadable the other way around: we've forced the upper bound of the X-axis to be 350 and the apples are now just a ripple across the bottom of the chart. What I want is for Excel to dynamically resize the chart like it normally does, but not go past my maximum. Can it be done? Googling has not been fruitful so far. Matt Deres (talk) 19:11, 1 August 2024 (UTC)[reply]

I understand that you do not want to chart dynamically all the monthly apple totals. Instead you may chart dynamically the minimum of two values, viz. each month's apple total and a numerical limit of 350. Use the Excel MIN function. Philvoids (talk) 18:19, 2 August 2024 (UTC)[reply]
Sorry, that is completely unrelated to what I'm talking about. I'm trying to control the way the graphs establish limits to the X-axis. Matt Deres (talk) 01:43, 3 August 2024 (UTC)[reply]