setting chart max and

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Setting Chart max and min of custom number axis in Excel 2007

Setting Chart max and min of custom number axis in Excel 2007

resolvedResolved · High Priority · Version 2007

jeff has attended:
Excel VBA Intro Intermediate course

Setting Chart max and min of custom number axis in Excel 2007

In Excel 2003 it was possible to enter the desired chart axis limits in the format of the axis, this does not appear to be the case in 2007?

For example; In Excel 2003 if the axis number format is mm:ss.0 you can enter “1:30.5” in the minimum or maximum value box, and the chart is scaled accordingly. You can also type in the numeric equivalent which fir 1:30.5 is “0.0010474537037037”. In Excel 2007 it is possible to set the axis value format to be mm:ss.0 but if you enter your desired axis minimum of maximum in mm:ss.0 format it is ignored. The value is only accepted if entered in the numeric format, which is massively painful.

The best solution I have found so far is to find the numeric equivalent of the value you want by switching the cell format between mm:ss:0 and general then copying the numeric value. Is there setting that I have missed? Any help would be greatly appreciated.

RE: Setting Chart max and min of custom number axis in Excel 200

Hi Jeff, thanks for your query. You have hit upon a genuine - and irritating! - problem with Excel 2007! There is, I'm afraid, no built in functionality to solve this, as mentioned here:

http://tinyurl.com/yhf3rv6

"Excel allows you to specify time values for the axis options. Time values are a percentage of a 24-hour day. As such, 11:00 AM is represented as 11/24 = 0.45833. For the maximum value, I’ve rounded this up to 5:00 PM which corresponds to 17 in military time (17/24 = 0.70833). These settings will produce a chart like the following. As you can see, the shape of the scatter chart is very different from that produced by just a line chart.

Those of you familiar with this technique of converting time to a decimal may recall that Excel 2003 allowed you to enter a date and time like “1/1/07 11:00 AM” directly in the axis option min/max fields and Excel would calculate the appropriate decimal representation. This currently does not work in Excel 2007 but will be fixed in a subsequent release."

So no quick way round it beyond enter the times as decimal values I'm afraid. We'll have to wait until Office 2010!

All the best,

Anthony

Mon 2 Nov 2009: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Generating Random Numbers

To generate a random number in Excel use the = RAND() function.

The value returned will always be between 0 and 1. To convert this to some other random value, you will need to multiply the result by the highest number you want to consider. For example, if you wanted a random number between 1 and 25, you could use the following code line:
= INT(25 * RAND()+ 1)

Since RAND() will always returns a value between 0 and 1 (but never 1 itself), multiplying what it returns by 25 and then using the Integer function INT on that result will return a whole number between 0 and 24.

Finally, 1 is added to this result, so that x will be equal to a number between 1 and 25, inclusive

View all Excel hints and tips


Server loaded in 0.1 secs.