A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using Text in the y-axis of a line graph



 
 
Thread Tools Display Modes
  #1  
Old April 8th, 2009, 10:10 PM posted to microsoft.public.excel.charting
ct60
external usenet poster
 
Posts: 3
Default Using Text in the y-axis of a line graph

Hello -

I have tried to find a solution to this (without using an add-in), but have
been unable.

Suppose we have values like this:
Time Rating Symbol
T1 Aaa
T2 Aa2
T3 Aa3
T4 Ba1
T5 Ba1
T6 Ba1
T7 B2
T8 Caa2
T9 Caa3
T10 Caa3
T11 C
T12 C

The problem is that Excel does not seem to understand how to rank the
ratings.

One nice way of doing this wopuld be to replace the ratings with numerical
values and then in the chart somehow replace the numerical values with the
corresponding ratings text.

This sems likea pretty difficult problem. If anyone has any insights i
would greatly appreciate it.

Best Regards,

Chris )


  #2  
Old April 9th, 2009, 04:16 AM posted to microsoft.public.excel.charting
Jon Peltier
external usenet poster
 
Posts: 5,018
Default Using Text in the y-axis of a line graph

Chris -

Excel does not know how to evaluate your alphanumeric codes. Because they
are not numeric, Excel just assumes they have a value of zero.

You are on the right track with an approach that replaces the codes with
numerical values. To get codes back onto the axis, you need to hide the
regular axis labels, then plot a helper XY series along the axis, with data
points where you want labels. Each data point has a data label, which serves
as a replacement axis label. The approach is described in several articles
listed he

http://peltiertech.com/Excel/Charts/...tml#AxisScales

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"ct60" wrote in message
...
Hello -

I have tried to find a solution to this (without using an add-in), but
have
been unable.

Suppose we have values like this:
Time Rating Symbol
T1 Aaa
T2 Aa2
T3 Aa3
T4 Ba1
T5 Ba1
T6 Ba1
T7 B2
T8 Caa2
T9 Caa3
T10 Caa3
T11 C
T12 C

The problem is that Excel does not seem to understand how to rank the
ratings.

One nice way of doing this wopuld be to replace the ratings with numerical
values and then in the chart somehow replace the numerical values with the
corresponding ratings text.

This sems likea pretty difficult problem. If anyone has any insights i
would greatly appreciate it.

Best Regards,

Chris )




 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.