PC Review


Reply
Thread Tools Rate Thread

Conditional number format of x-axis based on value?

 
 
hdf
Guest
Posts: n/a
 
      30th Jan 2011
With Excel 2007, I was wondering if it is possible to conditionally
format the x-axis number format in the chart based on multiple
criteria.

I know I can do it for a value >x or < the y. But I need to do it for
ranges of values.

Essentially I want to have any value <1 and > -1 formatted as a %
value,
any value >1 and <500 or <-1 and >-500 formatted as a number with two
decimal places,
and any number >500 or <-500 formatted as a number with no decimal
places.

Using conditional formatting I have done this with the values that are
going to be used by the chart as the x-axis values. However, the
graph does not pick up the formatting created by Conditional
Formatting. The chart insists on using the underlying format of the
values before conditional formatting is applied.

Is this possible without using VBA? If not, what would be the VBA
code to get me there?

Thanks for any help out there.
 
Reply With Quote
 
 
 
 
hdf
Guest
Posts: n/a
 
      31st Jan 2011
Ron,

Thanks for the suggestion about Microsoft Answer. I have now posted
the same question there too.
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically Scale X Axis on Column Chart Based on Number of Catego Andrew Lavinsky Microsoft Excel Charting 1 1st Feb 2010 03:56 AM
conditional number formats for y-axis labels sasquatch Microsoft Excel Charting 3 29th Aug 2009 04:20 AM
format axis number - bug? willy Microsoft Excel Charting 4 20th Jan 2009 11:19 AM
Number format based on number format of another cell in another workbook Rob Microsoft Excel Programming 9 9th Jan 2005 04:30 PM
format axis to display number as m or k? gossamer Microsoft Powerpoint 1 18th Jul 2003 08:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:58 PM.