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  

Point labels in an Excel scatter plot to be associated text



 
 
Thread Tools Display Modes
  #1  
Old August 14th, 2005, 11:04 PM
k_thakur
external usenet poster
 
Posts: n/a
Default Point labels in an Excel scatter plot to be associated text


Point labels in scatter plot - text? Wrote:
I am trying to plot a scatter plot where I would like each point to have
a
specific name. For instance, I have three columns, company name,
total
revenue, and % margin. I would like to plot revenu vs. % margin and
when
clicking on a specific point, I would like to find out the company
name.


Hi, There is very elegant way of doing this in Excel without any third
party add-ins. I explain you how to do this in following steps:
Step1: Organize your data as follows
A B C
1 Company Revenue (X) Margin (Y)
2 C1 200 12
3 C2 100 20

Step2: Plot a XY Scatter plot using MS Excel®, by selecting only B1:C3.
Select series in: Column (don’t select Series in: Rows). This would
produce your desired Revenue vs. %Margin Plot with Revenue on the XAxis
& %Margin on YAxis. Have your leveling of axes done.

Step3: Click on the data point on the XY scatter it would select the
data series. Then click once again on the individual data point to
select it alone say for instance, point (Revenue=200, %Margin=12).
Right click on the selected data point --Select Format Data
Series--Select Data Label--Show Value

Step4: This would show the value of %Margin (= 20 in this case) beside
the selected data point (Revenue=200, %Margin=12). Now double click on
the label you have just created, this would give you a text box
surrounding your label. Write company name in this text box (C1 in this
case). Do the same for other data points as well. Now you have the third
data value referenced to your data points. This is dynamic, even if you
change the source data value (say the Revenue/Margin), company name
would move along with the data point.

Alternatively, you have to buy/download some Excel Ad-ins that lets you
show data label. One such free download is available at:
http://www.xl-logic.com/pages/addins.html download the
xy-levels.zip.
Hope this helps you :-)
Regards,
Kartik Thakur
Email:


--
k_thakur
------------------------------------------------------------------------
k_thakur's Profile:
http://www.excelforum.com/member.php...o&userid=26281
View this thread: http://www.excelforum.com/showthread...hreadid=390270

  #2  
Old August 15th, 2005, 01:38 AM
Jon Peltier
external usenet poster
 
Posts: n/a
Default

You neglected to explain how to make the label dynamic in terms of
pointing to the cell, so that the data label in the chart changes when
the label in the cell changes. Select the series of labels, then select
the specific label (two single clicks), then without clicking to put the
cursor into the pseudo-text box, type the equals key, then click on the
cell with the mouse.

Both of the following free add-ins link the the cell in this way. Rob's
has the added feature that it copies the cell's text formatting to the
data label, although the formatting remains what it was when the label
was created, and doesn't change if you change the formatting in the
worksheet.

Rob Bovey's Chart Labeler, http://appspro.com
John Walkenbach's Chart Tools, http://j-walk.com/ss

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

The manual technique is nice to know, but becomes tedious after about
the third label.

k_thakur wrote:

Point labels in scatter plot - text? Wrote:

I am trying to plot a scatter plot where I would like each point to have
a
specific name. For instance, I have three columns, company name,
total
revenue, and % margin. I would like to plot revenu vs. % margin and
when
clicking on a specific point, I would like to find out the company
name.



Hi, There is very elegant way of doing this in Excel without any third
party add-ins. I explain you how to do this in following steps:
Step1: Organize your data as follows
A B C
1 Company Revenue (X) Margin (Y)
2 C1 200 12
3 C2 100 20

Step2: Plot a XY Scatter plot using MS Excel®, by selecting only B1:C3.
Select series in: Column (don’t select Series in: Rows). This would
produce your desired Revenue vs. %Margin Plot with Revenue on the XAxis
& %Margin on YAxis. Have your leveling of axes done.

Step3: Click on the data point on the XY scatter it would select the
data series. Then click once again on the individual data point to
select it alone say for instance, point (Revenue=200, %Margin=12).
Right click on the selected data point --Select Format Data
Series--Select Data Label--Show Value

Step4: This would show the value of %Margin (= 20 in this case) beside
the selected data point (Revenue=200, %Margin=12). Now double click on
the label you have just created, this would give you a text box
surrounding your label. Write company name in this text box (C1 in this
case). Do the same for other data points as well. Now you have the third
data value referenced to your data points. This is dynamic, even if you
change the source data value (say the Revenue/Margin), company name
would move along with the data point.

Alternatively, you have to buy/download some Excel Ad-ins that lets you
show data label. One such free download is available at:
http://www.xl-logic.com/pages/addins.html download the
xy-levels.zip.
Hope this helps you :-)
Regards,
Kartik Thakur
Email:


 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I copy x-y scatter plot data direct from one plot to another? Chris Charts and Charting 2 June 3rd, 2005 01:20 PM
scatter plot & label for a data point shabnam Charts and Charting 3 April 11th, 2005 06:37 PM
Excel Scatter Plot with connected by smooth lines Rosa Campos Charts and Charting 1 February 9th, 2005 02:55 PM
Data labels in scatter charts Joshua Charts and Charting 1 April 17th, 2004 06:55 PM
Modification of Excel's Chart Tips in a Scatter Plot George Elkins Charts and Charting 2 November 14th, 2003 09:10 PM


All times are GMT +1. The time now is 11:21 AM.


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