I have a graph with a bar that is the 4th series in my graph. The bars go to values of 500, 1900, 300 etc. The user, however, want the datalabels to be divided by 10. The bar will go on a “Y” axis using their real values of 500, 1900, 300, BUT the data la bels must read 50, 190, 30. I am making the graph in vba and i don’t know to do this. Can anyone help me? thanks you very much.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Excel series with datalabels from different column (Excel xp)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Excel series with datalabels from different column (Excel xp)
- This topic has 3 replies, 4 voices, and was last updated 21 years, 1 month ago.
Viewing 2 reply threadsAuthorReplies-
WSsdckapr
AskWoody LoungerSeptember 13, 2002 at 3:44 pm #616583I don’t know how detailed you need so I’ll be lazy:
Add the chart label values as normal (they will be 500, 1900, 300)
Change the chart labels for the series to the value/10 (or just hard code it to be 50, 190,300)One caveat this will not be “live”
If you need it live make a column with the values /10 referenced from the source)
Change the data labels to be linked to those cells (“=Sheet1D1” or whatever)
Now if the data changes the labels will still be the value /10.There are some addins available which allow changing datalabels if you don’t want to code it yourself. You should be able to seach the postings to find it.
Steve -
WSJim Cone
AskWoody LoungerSeptember 14, 2002 at 11:10 pm #616870Hello,
Your post said you wanted to do this in VBA, so I have created an answer that might work for you.
It works for me, but since you did not post a sample of your code, its hard to tell…
——————————-Sub ChangeTheLabelValues()
Dim WorkingChart As Chart
Dim SeparateLabel As DataLabel
Set WorkingChart = ActiveSheet.ChartObjects(1).ChartFor Each SeparateLabel In WorkingChart.SeriesCollection(4).DataLabels
SeparateLabel.Text = CLng(SeparateLabel.Text) 10
NextSet SeparateLabel = Nothing
Set WorkingChart = Nothing
End Sub————————————————
Jim Cone
San Jose, CA -
WSpieterse
AskWoody LoungerMarch 13, 2004 at 5:28 pm #616611Download Rob Bovey’s xychartlabeller from:
http://www.bmsltd.ie/mvp%5B/url%5D
Edited Mar 13th 2004 to update link
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Android 15 require minimum 32GB of storage
by
Alex5723
2 hours, 21 minutes ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
2 hours, 30 minutes ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
3 hours, 1 minute ago -
advice for setting up a new windows computer (Awaiting moderation)
by
routtco1001
3 hours, 22 minutes ago -
Firefox became sluggish
by
Rick Corbett
4 hours, 15 minutes ago -
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
6 hours, 59 minutes ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
7 hours, 28 minutes ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
2 hours, 59 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
4 hours, 22 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
9 hours, 23 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
32 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
22 hours, 14 minutes ago -
The time has come for AI-generated art
by
Catherine Barrett
2 hours, 17 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
11 hours, 58 minutes ago -
23 and you
by
Max Stul Oppenheimer
19 hours, 12 minutes ago -
April’s deluge of patches
by
Susan Bradley
32 minutes ago -
Windows 11 Windows Updater question
by
Tex265
1 day, 5 hours ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
2 days, 4 hours ago -
Registry Patches for Windows 10
by
Drcard:))
2 days, 8 hours ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
1 day, 15 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
1 day ago -
Align objects on a OneNote page
by
CWBillow
2 days, 14 hours ago -
OneNote Send To button?
by
CWBillow
2 days, 14 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
2 days, 23 hours ago -
No Newsletters since 27 January
by
rog7
1 day, 3 hours ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
1 day, 23 hours ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
1 day, 22 hours ago -
Google One Storage Questions
by
LHiggins
1 day, 6 hours ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
1 day, 13 hours ago -
Ancient SSD thinks it’s new
by
WSila
2 days, 4 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.